-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Long compilation time (hello world takes ~5sec) #36396
Comments
Can you run with The version of Probably a 7-year-old laptop CPU is just going to take this long for |
|
This is what I see for a similarly small file
~99.99% of the
However we can't skip parsing and binding the built-in definitions, so ultimately this is just "slow computers are slow" |
There is technically #25658 |
TypeScript Version: 3.7.5
Search Terms:
Just installed typescript.
Compiling 1-string typescript "hello world" file takes ~5 sec on my machine. It doesn't depend of current CPU/RAM loading etc. Looks like it "hangs" for 4 sec, and then starts working.
I tried to reboot, reinstall typescript, run as different user - nothing helps.
Is it OK?
Expected behavior:
Taking about .001sec for compiling
console.log("hello world!")
Actual behavior:
Taking about 5sec for compiling
console.log("hello world!")
Additional info:
OS: Windows 10
Intel Core i3-4005U CPU @ 1.70GHz / 8GB RAM / SSD
Terminal: git bash
Let me know if you need any additional info.
Thanks.
The text was updated successfully, but these errors were encountered: