Description
Bug Report
TypeScript version 4.3.2
I am unable to see any measurable performance difference using incremental builds using tsc --noEmit
with or without "incremental": true
in compilerOptions
or the --incremental
CLI argument. Builds take the same amount of time before and after the tsconfig.tsbuildinfo
is created.
I have tried this in serveral different projects on both Windows and Linux, the results are the same. I also used the performance tracing feature and the flame graphs look pretty much identical with or without the tsbuildinfo file.
One project takes about 14.5 seconds on my machine without incremental build and about 14.5 seconds with incremental.
Another project takes 3.5 seconds on Windows without and 3.5 seconds with. The same project took 3 seconds on Linux without and 3 seconds with.
First flame graph with no tsbuildinfo
Second build with tsbuildinfo present
🔎 Search Terms
incremental
tsbuildinfo
performance
🕗 Version & Regression Information
- I was unable to test this on prior versions because limited time
⏯ Playground Link
Not possible.
💻 Code
N/A
🙁 Actual behavior
Incremental builds perform the same as non incremental builds.
🙂 Expected behavior
I expect incremental builds to be at least a little bit faster.