microsoft / microsoft/TypeScript
Performance regression in #33473
Aperta
@weswigham ci sta già lavorando.
Dal 3/11/2021.
Domain: Performance
Needs Investigation
Rescheduled
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.4k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
The extra work done in #33473 is valuable, but maybe it doesn't need to be so expensive. In this particular case, there don't seem to be any errors (though there is one @ts-ignore).
Setup:
- Clone https://github.com/amcasey/material-ui.git
- Check out Benchmark
yarnto restore packagesyarn typescriptto prebuild and run some TS tests
Repro
tsc -p docs
On a random Mac Mini:
- 10-run avg on https://github.com/microsoft/TypeScript/commit/6c2ae12559508b594f7038f8d6165b92ec89c58c: 33,010ms
- 10-run avg on https://github.com/microsoft/TypeScript/commit/26caa3793e310e271ddee8adc1804486e5b0749f: 33,494ms (1% slower)
Note: to build old TS commits, you probably need to change const { default: chalk } to const chalk in scripts/build/utils.js.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.