-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mixed Chinese and non-Chinese words
- Loading branch information
1 parent
a0c40e1
commit 40be9e7
Showing
8 changed files
with
384 additions
and
125 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
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
Oops, something went wrong.
40be9e7
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
Short input without segment#@napi-rs/pinyin
577606
ops/sec (±0.91%
)488927
ops/sec (±1.11%
)0.85
Short input without segment#node-pinyin
320882
ops/sec (±0.77%
)268041
ops/sec (±1.21%
)0.84
Long input without segment#@napi-rs/pinyin
45
ops/sec (±1.48%
)174
ops/sec (±1.03%
)3.87
Long input without segment#node-pinyin
1
ops/sec (±1.74%
)1
ops/sec (±7.73%
)1
Short input with segment#@napi-rs/pinyin
350149
ops/sec (±1.51%
)501747
ops/sec (±1.2%
)1.43
Short input with segment#node-pinyin
210479
ops/sec (±1%
)180016
ops/sec (±1.46%
)0.86
Long input with segment#@napi-rs/pinyin
99
ops/sec (±0.95%
)169
ops/sec (±1.84%
)1.71
Long input with segment#node-pinyin
2
ops/sec (±1.62%
)2
ops/sec (±4.25%
)1
This comment was automatically generated by workflow using github-action-benchmark.