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

perf: defer requiring most external libs until needed #584

Merged
merged 2 commits into from Aug 14, 2016
Merged

Conversation

nexdrew
Copy link
Member

@nexdrew nexdrew commented Aug 10, 2016

Mainly since recent benchmarks show that preloading a bunch of dependencies is the biggest performance killer in yargs. Let's just give deps the same "require on demand" treatment, especially for ones that are only used in certain cases.

@bcoe bcoe merged commit f9b0ed4 into master Aug 14, 2016
@bcoe bcoe deleted the lazy-load branch August 14, 2016 01:46
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.

None yet

2 participants