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

Here is how things would work if this were its own package. #85

Closed

Conversation

bolinfest
Copy link

On my machine (with all of Nuclide installed), here is what timecop looks like before this change:

screen shot 2015-09-23 at 9 37 35 am

And here is what timecop looks like after this change:

screen shot 2015-09-23 at 9 39 32 am

There is a dramatic difference in load time if this could be split out into a package that were only the grammar.

Without even testing, I'm 99% sure the reason why line-ending-selector is in that list is because of this line:

https://github.com/atom/line-ending-selector/blob/54c23121ae8ba18ba3992a4ccceda44b750b6fe8/lib/main.js#L3

In Nuclide, you can see that we don't allow any of our packages to depend on lodash, q, or underscore because we have found that they have a serious negative effect on load times:

https://github.com/facebook/nuclide/blob/e961c4d3461c3abc35a6f8ccaf3f6e959b622f1e/scripts/lib/package_linter.py#L21-L27

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

Successfully merging this pull request may close these issues.

2 participants