Benchmark suggestions

Open
#32 3 comments 1 reaction 0 assignees View on GitHub

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

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 install and tsc -p or tsc -b. No funky build systems, no random external artifacts if possible.
    • Compiling with -p is preferred, to prevent fail-fast behavior.
    • Emitting with tsc is even better. Especially declaration emit
  • 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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/typescript-benchmarking

All issues in microsoft/typescript-benchmarking

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.