microsoft / microsoft/TypeScript
Typescript 5.5 performance regression on arktype
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
It seems likely it was #58337 that was responsible for the performance hit in https://github.com/arktypeio/arktype
{
"checkTime": 9.68,
"types": 483415,
"instantiations": 2629152
}
devDependencies:
- typescript 5.5.0-dev.20240429
+ typescript 5.5.0-dev.20240430
{
"checkTime": 12.2,
"types": 514846,
"instantiations": 2819487
}
(previously incorrectly attributed it to https://github.com/microsoft/TypeScript/pull/58372)
Originally posted by @ssalbdivad in https://github.com/microsoft/TypeScript/issues/58337#issuecomment-2154832204
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the arktype performance data in this issue and compare the TypeScript 5.5.0-dev.20240429 and 20240430 results. Read issue #58337 and the referenced pull request #58372 to identify the change associated with the regression; done means reproducing the slowdown and locating or resolving its cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100