Benchmark suggestions
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- build-system, performance
Research direction
Start with the benchmark criteria and the unchecked candidates listed in the issue, then inspect the existing benchmark structure for a comparable checked entry such as webpack or vscode. A contribution would need to select and integrate a candidate whose project compiles with the stated TypeScript commands in the target time; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
General criteria
A benchmark:
- Must be compile with a simple
npm|yarn|pnpm installandtsc -portsc -b. No funky build systems, no random external artifacts if possible.- Compiling with
-pis preferred, to prevent fail-fast behavior. - Emitting with tsc is even better. Especially declaration emit
- Compiling with
- Should compile in less than 60 seconds or so. If you have a benchmark and it takes like 5 minutes to build, that deserves a bug!
Potential candidates
Pulling this list out of https://github.com/microsoft/TypeScript/issues/44033
- webpack (checked JS)
- mongoose
- styled-components
- @emotion/*
- fp-ts
- aws-sdk
- bunp
- artificial auto-imports benchmark (tsserver)
- prisma
- zod
- Code like in https://github.com/microsoft/TypeScript/issues/52345
- vscode
- compiler (updated to current year)
- some repo with lots of ts-ignores
- vuelidate
- something with incremental parsing
- drizzle
- https://github.com/TryGhost/Ghost
- prisma something (https://github.com/microsoft/TypeScript/issues/44033#issuecomment-1698701239)
- new angular
-
https://github.com/ChromeDevTools/devtools-frontendthis build is way too custom; tsconfigs do not actually build - https://github.com/growthbook/growthbook/blob/main/packages/back-end/tsconfig.json
- https://github.com/bluesky-social/social-app
Being in this list does not guarantee that actually want to add the benchmarks, or that there aren't other benchmarks we could add.
Our benchmarking system uses tuned physical machines for accurate measurement, so benchmarking time is limited. More capacity is on the way, and removing our old legacy internal benchmarks will free up more time.
- Dominant language
- TypeScript
- Stars
- 26
- Forks
- 6
- Avg merge
- 7m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
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.
More from microsoft/typescript-benchmarking
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
All issues in microsoft/typescript-benchmarking
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·