Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INVESTIGATE: improving startup performance #34

Open
3 of 6 tasks
amilajack opened this issue Mar 5, 2018 · 9 comments
Open
3 of 6 tasks

INVESTIGATE: improving startup performance #34

amilajack opened this issue Mar 5, 2018 · 9 comments

Comments

@amilajack
Copy link
Member

amilajack commented Mar 5, 2018

Things to investigate

  • Dynamically import only parts of falcon-core that are necessary
  • async/lazyload routes with react-router
  • Service worker to reduce network startup
  • prepack (waiting for this project to mature)
  • Native compile cache
  • electron-link (v8 snapshots)

Readings

Resources

NOTE: Requiring falcon-core reduces startup perf by 1 whole second

screen shot 2018-03-05 at 2 39 45 pm

@amilajack
Copy link
Member Author

amilajack commented Mar 10, 2018

comparing to erb perf (in production). should use it as a baseline. Half a second startup

screen shot 2018-03-09 at 11 40 56 pm

@amilajack amilajack changed the title INVESTIGATE: electron-link for faster startup times INVESTIGATE: improving startup performance Mar 10, 2018
@amilajack
Copy link
Member Author

amilajack commented Mar 10, 2018

falcon in production: 2sec startup, after removing unnecessary native dependencies

screen shot 2018-03-09 at 11 45 35 pm

@amilajack
Copy link
Member Author

amilajack commented Mar 10, 2018

falcon in production: 1.4sec startup, after async routes

screen shot 2018-03-10 at 12 22 36 am

@amilajack
Copy link
Member Author

Timings
Archive.zip

@amilajack
Copy link
Member Author

@amilajack
Copy link
Member Author

screen shot 2018-03-13 at 6 39 39 pm

@amilajack
Copy link
Member Author

screen shot 2018-03-14 at 4 28 52 pm

@amilajack
Copy link
Member Author

@amilajack
Copy link
Member Author

screen shot 2018-03-17 at 1 53 57 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant