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

Improve build/feedback times #53

Open
7 tasks
rngadam opened this issue Sep 9, 2016 · 4 comments
Open
7 tasks

Improve build/feedback times #53

rngadam opened this issue Sep 9, 2016 · 4 comments

Comments

@rngadam
Copy link
Member

rngadam commented Sep 9, 2016

During development, we want <2s change->test change loops.

setup:

OS X Yosemite 10.10.5
2.4 GHz Intel Core i5
8G memory
Meteor 1.4.1.1

https://gist.github.com/rngadam/84f8dbebe88efd5bf84c4a25e00f0de0

| (#1) Total: 4,491 ms (ProjectContext prepareProjectForBuild)
| (#2) Total: 16,249 ms (Build App)

worse offenders:

| Top leaves:
| meteorNpm.runNpmCommand..................................1,559 ms (1)
| ImportScanner#_findImportedModuleIdentifiers.............1,360 ms (683)
| files.readdir............................................1,254 ms (158)
| files.readFile...........................................1,106 ms (1260)

Explore:

@rngadam
Copy link
Member Author

rngadam commented Sep 9, 2016

@rngadam
Copy link
Member Author

rngadam commented Sep 9, 2016

One load in an incognito window (not logged in):

screen shot 2016-09-09 at 5 38 23 pm

...same weight as if logged in which shows there's no code splitting.

@rngadam
Copy link
Member Author

rngadam commented Sep 9, 2016

with all code moved to imports/

https://gist.github.com/rngadam/f52f6e8befce1368719cca875229da34

@rngadam
Copy link
Member Author

rngadam commented Sep 9, 2016

still amazing amount of code loaded from the dependencies:

screen shot 2016-09-09 at 6 51 58 pm

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

No branches or pull requests

1 participant