Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typescript-cheatsheets/speed
my TS project is slow. now what?
https://github.com/typescript-cheatsheets/speed
Last synced: about 2 months ago
JSON representation
my TS project is slow. now what?
- Host: GitHub
- URL: https://github.com/typescript-cheatsheets/speed
- Owner: typescript-cheatsheets
- License: mit
- Created: 2020-01-17T21:23:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T23:08:20.000Z (over 2 years ago)
- Last Synced: 2024-04-14T09:04:00.411Z (5 months ago)
- Size: 5.86 KB
- Stars: 29
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## typescript speed
my TS project is slow to build. now what?
1. use project references https://react-typescript-cheatsheet.netlify.app/docs/advanced/patterns_by_version#typescript-30
2. use `--incremental`
3. `yarn tsd --diagnostics` to get a sense
4. TypeScript team performance documentation - https://github.com/microsoft/TypeScript/wiki/Performance
5. TypeScript Performance tracing (4.1+ only) - https://github.com/microsoft/TypeScript/wiki/Performance-Tracing## war stories
- https://medium.com/pixel-and-ink/understanding-and-improving-emotion-10s-typescript-types-622e2d172f6f