Closed
Description
π Search Terms
noCheck isolatedDeclarations
π Version & Regression Information
- --noCheck was just added in Allow
--noCheck
to be commandLine optionΒ #58839 Thanks @sheetalkamat!
β― Playground Link
No response
π» Code
// @strict: true
// @declaration: true
// @isolatedDeclarations: true
// @allowJs: false
// @noCheck: true
// @filename: index.ts
export { type Falsey } from "lodash";
π Actual behavior
Ran the above code using tsc --generateTrace trace_dir
which produced the following trace.
trace.json
If you load this trace into https://speedscope.app you can see that out of 271ms, about 97% of the time is spent parsing and binding @types/lodash
and lib.d.ts
and only 6ms is spent on the actual emit.
which seems superfluous and a huge optimization opportunity if we can skip these steps. cc @weswigham @jakebailey @dragomirtitian
π Expected behavior
No time is spent parsing and binding and emit takes up most of the time
Additional information about the issue
No response
Metadata
Metadata
Assignees
Labels
No labels