GeezerVison is showing github.com — benchmark: update iterations in benchmark/util/normalize-encoding.js by lucshi · Pull Request #50934 · nodejs/node
Conversation
lucshi
commented
Nov 27, 2023
•
edited by H4ad
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs: #50571
Belowing are the score improvement after 10X iteration change:
util/normalize-encoding.js n=1000000
util/normalize-encoding.js input="": n=1000000 percent=301.90%
util/normalize-encoding.js input="utf8": n=1000000 percent=257.18%
util/normalize-encoding.js input="utf-8": n=1000000 percent=247.71%
util/normalize-encoding.js input="UTF-8": n=1000000 percent=158.92%
util/normalize-encoding.js input="UTF8": n=1000000 percent=205.67%
util/normalize-encoding.js input="Utf8": n=1000000 percent=163.09%
util/normalize-encoding.js input="ucs2": n=1000000 percent=192.82%
util/normalize-encoding.js input="UCS2": n=1000000 percent=179.22%
util/normalize-encoding.js input="utf16le": n=1000000 percent=239.94%
util/normalize-encoding.js input="UTF16LE": n=1000000 percent=207.57%
util/normalize-encoding.js input="binary": n=1000000 percent=183.19%
util/normalize-encoding.js input="BINARY": n=1000000 percent=150.46%
util/normalize-encoding.js input="latin1": n=1000000 percent=198.72%
util/normalize-encoding.js input="base64": n=1000000 percent=237.31%
util/normalize-encoding.js input="BASE64": n=1000000 percent=166.36%
util/normalize-encoding.js input="hex": n=1000000 percent=231.76%
util/normalize-encoding.js input="HEX": n=1000000 percent=198.36%
util/normalize-encoding.js input="foo": n=1000000 percent=192.08%
util/normalize-encoding.js input="undefined": n=1000000 percent=383.12%
util/normalize-encoding.js input="group_common": n=1000000 percent=160.35%
util/normalize-encoding.js input="group_upper": n=1000000 percent=155.27%
util/normalize-encoding.js input="group_uncommon": n=1000000 percent=250.76%
util/normalize-encoding.js input="group_misc": n=1000000 percent=169.54%
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
H4ad
H4ad approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
author ready
PRs with CI started, the required approvals, and no outstanding review comments.
benchmark
Issues and PRs related to Node.js benchmarks and benchmarking infrastructure.
util
Issues and PRs related to the built-in util module.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.