-
Notifications
You must be signed in to change notification settings - Fork 18
Much slower than vanilla Parcel #31
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
Comments
Thanks for the report. Is it still slow if you set
|
With |
Maybe investigate spawning type checker into a separate thread to avoid holding critical path for type checking |
@mohsen1 this is already the case : I'm using the plugin on pretty big TypeScript projects at work (~400kLOC) and I get better performance than This may be due to something else in your setup, if someone could provide a reproduction it would help me find out what's going on. Keep in mind that TypeScript is almost (if not already) statically Turing-complete, if you use a lot of generics and |
Uh oh!
There was an error while loading. Please reload this page.
I'm testing this and Parcel on a large Angular 1.6 TypeScript project - bundled to about 8MB uncompressed, 4.4MB compressed.
I have found that the warm startup (with a .cache folder) is about the same speed, ~6 seconds. Cold startup (without .cache) is ~35 seconds with vanilla Parcel, but incredibly slow with the TS plugin, ~320 seconds - 5 minutes!
Watching files is also slower, about 1-5 seconds with the plugin depending on the amount changed. It's usually 0.3-1.5 seconds with vanilla Parcel.
Is there anything that can be done to improve performance? Thanks
The text was updated successfully, but these errors were encountered: