-
Notifications
You must be signed in to change notification settings - Fork 238
Fix typescript performance (NOT WORKING but on it) #1639
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
base: main
Are you sure you want to change the base?
Conversation
# Turbo | ||
.turbo | ||
.tsbuildinfo | ||
tsconfig.tsbuildinfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong. No need to add to gitignore.
The right place is
"tsBuildInfoFile": "node_modules/.cache/core.tsbuildinfo",
# New spans | ||
apps/web/ingest | ||
apps/workers/workspaces/*/traces | ||
apps/web/tsc-tracing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Garbage I generated
"./src/**/*.tsx", | ||
"next-env.d.ts", | ||
"next.config.js", | ||
".next/types/**/*.ts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This had a lot of shit. 3.8GB memory now 2.5GB
"jsx": "preserve", | ||
"typeRoots": [ | ||
"./node_modules/@types" | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrong
What?
Typescript performance is shit
TODO
-b
option intsconfig.json
root adding "references"Diagnostics
This command reveals number of files checked and also type declarations and memory
pnpm exec tsc --noEmit --extendedDiagnostics
CI cache of tsbuild