This PR adds the initial framework template. The idea is to open other PRs including benchmarks of other modules. Once we have a reasonable amount of reports, we'll store it in a JSON file to be displayed in some UI.
Currently, two types of benchmark will be supported:
HTTP - autocannon
ops/sec benchmark
For the former, I'm going to use benchmark.js for now, but my plan is to work on https://github.com/RafaelGSS/bench-node as part of the work of migrating it into Node.js core.
The repository is designed to be used as a source of comparison across releases. The package versions will be fixed and upgraded every 6 months to prevent misleading comparisons due to changes.
This PR adds the initial framework template. The idea is to open other PRs including benchmarks of other modules. Once we have a reasonable amount of reports, we'll store it in a JSON file to be displayed in some UI.
Currently, two types of benchmark will be supported:
For the former, I'm going to use
benchmark.js
for now, but my plan is to work on https://github.com/RafaelGSS/bench-node as part of the work of migrating it into Node.js core.The repository is designed to be used as a source of comparison across releases. The package versions will be fixed and upgraded every 6 months to prevent misleading comparisons due to changes.