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
What is the problem this feature will solve?
This feature introduces a new
node:benchmarkmodule (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:benchmarkmodule 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