Skip to content

Exposing NodeJS Benchmarking functionality as a module #45037

Description

@zombieleet

What is the problem this feature will solve?

This feature introduces a new node:benchmark module (it exposes the internal benchmarking functionality that already exists in node core bencharmk, which serves the purpose of measuring the time taken for an operation to complete.

The module will also support benchmarking HTTP(s) requests using either autocannon, h2load or wrk http-bencharmks.

The module will also support and provide a user/developer friendly interface to compare benchmark results across two nodejs versions. compare-benchmark

What is the feature you are proposing to solve the problem?

The node:benchmark module gives a more reliable approach towards benchmarking a set of operations (The existing solution in node core might be also improved on to provide more functionality).

There is currently a draft-pr on this (with few reviews on this).

What alternatives have you considered?

No response

Activity

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

    benchmarkIssues and PRs related to Node.js benchmarks and benchmarking infrastructure.feature requestIssues requesting new Node.js features.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions