Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark: update iterations in benchmark/util/format.js #50932

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

lucshi
Copy link

@lucshi lucshi commented Nov 27, 2023

Refs: #50571

Belowing are the score improvement after 10X iteration change:

util/format.js n=1000000
util/format.js type="string"  n=1000000 percent=154.84%
util/format.js type="string-2"  n=1000000 percent=150.37%
util/format.js type="number"  n=1000000 percent=156.83%
util/format.js type="replace-object"  n=1000000 percent=111.05%
util/format.js type="unknown"  n=1000000 percent=164.63%
util/format.js type="no-replace"  n=1000000 percent=174.30%
util/format.js type="no-replace-2"  n=1000000 percent=168.45%
util/format.js type="many-%"  n=1000000 percent=177.32%
util/format.js type="object-to-string"  n=1000000 percent=139.61%
util/format.js type="object-%s"  n=1000000 percent=110.67%

@nodejs-github-bot nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. util Issues and PRs related to the built-in util module. labels Nov 27, 2023
@H4ad H4ad added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 2, 2023
@H4ad H4ad added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 4, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 4, 2023
@nodejs-github-bot nodejs-github-bot merged commit b2f23f0 into nodejs:main Dec 4, 2023
30 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in b2f23f0

RafaelGSS pushed a commit that referenced this pull request Dec 15, 2023
Fixes: #50571
PR-URL: #50932
Refs: #50571
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Dec 15, 2023
richardlau pushed a commit that referenced this pull request Mar 25, 2024
Fixes: #50571
PR-URL: #50932
Refs: #50571
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
@richardlau richardlau mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. benchmark Issues and PRs related to the benchmark subsystem. 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