Skip to content

Benchmark suggestions #32

Open
Open

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 microsoft/TypeScript#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.

Activity

  1. jakebailey commented on Feb 5, 2024

    @jakebailey
    MemberAuthor

    This code apparently takes a super long time to check (with the PR in place): https://github.com/reduxjs/reselect/blob/ce9e875d2437ad1dbb701e0d8945a4fa3665f709/type-tests/deepNesting.test-d.ts#L49

    And may represent an interesting benchmark.

  2. jakebailey commented on Apr 22, 2024

    @jakebailey
    MemberAuthor

    Joël Galeran (@Jolg42) Do you have any links to what kind of prima benchmark you were looking to add in microsoft/TypeScript#44033 (comment)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions