Draft
Conversation
Collaborator
Author
|
With faster native function check: ✓ test/benchmarks.bench.ts > benchmarks > serialize - presets > count:128, size:small (with 6 extra functions) 1820ms
name hz min max mean p75 p99 p995 p999 rme samples
· ohash @ v3 3,589.43 0.2435 1.6586 0.2786 0.2674 0.5101 0.8508 1.0039 ±1.31% 1795 slowest
· ohash @ b9f9216 5,908.37 0.1517 1.9966 0.1693 0.1633 0.3314 0.3536 0.5464 ±1.00% 2955
· ohash @ dev 6,329.94 0.1470 0.3874 0.1580 0.1530 0.2940 0.3180 0.3639 ±0.57% 3165 fastest
BENCH Summary
ohash @ dev - test/benchmarks.bench.ts > benchmarks > serialize - presets > count:128, size:large
1.07x faster than ohash @ b9f9216
1.76x faster than ohash @ v3 |
d4cef4a to
5c62ee3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is a potentially breaking change because the output of the serialized function changes.
The whitespace and new lines are stripped from the output with a
RegExwhich is probably unnecessary.