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
Optimize startup performance #104
Comments
I've just profiled a really small CLI app that takes ~2 seconds to run using the V8 profiler. This package came up as first for compile time. As you say, the My suggestion would be to avoid reading the |
We don’t need the normalize stuff in Meow itself. So we could actually turn it off and only do it on demand if the user accesses the exported |
I would like
meow
to have as little impact on startup performance as possible.#67 is one way to improve that.
I will also do some profiling with DevTools to see what else can be optimized.
From memory, the
meow/index.js
Line 78 in 646f30b
cli.pkg
. We only really need thedescription
field ourselves, which doesn't need to be normalized.I'm open to other ideas and help with this.
The text was updated successfully, but these errors were encountered: