Skip to content

Conversation

@SeokhunEom
Copy link
Contributor

@SeokhunEom SeokhunEom commented Oct 6, 2025

  1. Change createBenchmark to also accept booleans options and update document about it.
  2. Use boolean values for randomUUID benchmark and deprecate benchmark instead of 0/1.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/performance

@nodejs-github-bot nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. crypto Issues and PRs related to the crypto subsystem. performance Issues and PRs related to the performance of Node.js. util Issues and PRs related to the built-in util module. labels Oct 6, 2025
@SeokhunEom SeokhunEom force-pushed the benchmark-boolean-option branch 4 times, most recently from 5e643fc to bea0f69 Compare October 6, 2025 16:58
Change createBenchmark to also accept booleans.
Update writing-and-running-benchmarks.md and format the md.
Use boolean values for randomUUID benchmark and
deprecate benchmark instead of 0/1.
@SeokhunEom SeokhunEom force-pushed the benchmark-boolean-option branch from bea0f69 to ad0c9ac Compare October 7, 2025 01:15
Comment on lines +5 to +25
* [How to write and run benchmarks in Node.js core](#how-to-write-and-run-benchmarks-in-nodejs-core)
* [Table of contents](#table-of-contents)
* [Prerequisites](#prerequisites)
* [HTTP benchmark requirements](#http-benchmark-requirements)
* [HTTPS benchmark requirements](#https-benchmark-requirements)
* [HTTP/2 benchmark requirements](#http2-benchmark-requirements)
* [Benchmark analysis requirements](#benchmark-analysis-requirements)
* [Running benchmarks](#running-benchmarks)
* [Setting CPU Frequency scaling governor to "performance"](#setting-cpu-frequency-scaling-governor-to-performance)
* [Running individual benchmarks](#running-individual-benchmarks)
* [Calibrating the number of iterations with calibrate-n.js](#calibrating-the-number-of-iterations-with-calibrate-njs)
* [Running all benchmarks](#running-all-benchmarks)
* [Specifying CPU Cores for Benchmarks with run.js](#specifying-cpu-cores-for-benchmarks-with-runjs)
* [Filtering benchmarks](#filtering-benchmarks)
* [Grouping benchmarks](#grouping-benchmarks)
* [Comparing Node.js versions](#comparing-nodejs-versions)
* [Comparing parameters](#comparing-parameters)
* [Running benchmarks on the CI](#running-benchmarks-on-the-ci)
* [Creating a benchmark](#creating-a-benchmark)
* [Basics of a benchmark](#basics-of-a-benchmark)
* [Creating an HTTP benchmark](#creating-an-http-benchmark)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove this unrelated change?

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

Labels

benchmark Issues and PRs related to the benchmark subsystem. crypto Issues and PRs related to the crypto subsystem. performance Issues and PRs related to the performance of Node.js. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants