-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Try migrating off of tsb and using normal tsc for building VS Code #80074
Comments
I believe that @rbuckton mentioned that TypeScript is using gulp + normal tsc. Relevant code: https://github.com/microsoft/TypeScript/blob/47182b543a2a0af7c71b9a098ceb4c419d745e2e/Gulpfile.js#L24 |
Probably worth noting: our infra around our build is way more complex than your probably needs to be, since we needed to wrap |
|
Memory-safe command to run the TypeScript compiler: |
@Tyriar There seems to an issue with xterm and its definition files. They appear two times causing these errors
Removing (or excluding) Can you please take a look and fix. Thanks |
Private xterm API access is now declared inside |
Thanks @Tyriar. We are now in a state where we can start measuring and comparing |
Some measurements that I have done, all happened in
For completeness, commands and output files. tsb: tsb.out.txt It seems that @weswigham Can you explain why tsc is so slow here? I think tsc and tsb both use a similar strategy which is based on declaration-files/information. E.g when a change triggers a change in the (to be emitted) foo.d.ts file then a deep analysis is needed. In tsb however, we use a reverse dependency graph of files and re-check only the neighbours and we don't recurse on a neighbour when its declaration-information didn't change. E.g. the |
Using |
closing as this won't happen anytime soon. |
FYI created microsoft/TypeScript#33323 which I consider a blocker if we wanted to adopt project references (after we're use |
I've opened microsoft/TypeScript#33329 for this. I know there's been a lot of recenty TS work on --incremental and want to make sure there is awareness of this issue |
VS Code currently use the gulp-tsb library for building VS Code. This library has some capability problems with some typescript features (jrieken/gulp-tsb#81).
We should investigate if normal
tsc --watch --incremental
is now fast enough for the main VS Code build/cc @rbuckton @weswigham
The text was updated successfully, but these errors were encountered: