-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Emit time of the same incremental change differs in different scopes #14965
Comments
Without more details on this project it's impossible to say what's going on |
Ok I have created test repo, where you you may see it I just took there big TS source for sample code: Clone it, run
Then change file /1/1.ts and see statistics:
So we changed just 1 file and emited only changes of it in both cases, but time is drastically different. |
@RyanCavanaugh haven't you check example? Interested in comments on this issue. |
I just wonder if something is going to improve in this area of TS, when we have well not so big code base that is watched, but an incremental compilation of one changed file takes the more time the more this codebase is, tough it is only one small change. |
the number of files are different. |
TypeScript Version: 2.2.1
I have the following case:
tsc -w compiles and watches one folder
X
, and I change there one source file, incremental compilation diagnostics is:tsc -w has wider scope, compiles and watches the same folder
X
and also a few other folders with sources, diagnostics of the same operation (one file in the folderX
changed)Actually amount of file emitted (which is one file in the case) is (at least should be) the same in both cases, I wonder why Emit time: 1.11s differs so much (vs 0.25s in the first case) ? Not sure aslo why
Check time
(1.35s vs 0.14s) differs much too.I have
skipLibCheck
andskipDefaultLibCheck
disabled.The text was updated successfully, but these errors were encountered: