generated from web-infra-dev/napi-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: to_writer use utf8 offset and WithIndices use OnceCell (#62)
* perf: to_writer use utf8 offset * perf: WithIndices use OnceCell
- Loading branch information
1 parent
d9ff439
commit 74c8edd
Showing
2 changed files
with
24 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
74c8edd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
benchmark_concat_generate_base64
29300
ns/iter (± 561
)24224
ns/iter (± 170
)1.21
benchmark_concat_generate_base64_with_cache
18292
ns/iter (± 124
)15135
ns/iter (± 95
)1.21
benchmark_concat_generate_string
14878
ns/iter (± 86
)12394
ns/iter (± 67
)1.20
benchmark_concat_generate_string_with_cache
4133
ns/iter (± 19
)3466
ns/iter (± 15
)1.19
This comment was automatically generated by workflow using github-action-benchmark.