You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/jieba/README.md
+42-45Lines changed: 42 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,61 +14,59 @@
14
14
Due to [jieba-rs is 33% faster than cppjieba](https://blog.paulme.ng/posts/2019-06-30-optimizing-jieba-rs-to-be-33percents-faster-than-cppjieba.html), and N-API is faster than `v8` C++ API, `@node-rs/jieba` is faster than `nodejieba`.
15
15
16
16
```bash
17
-
@node-rs/jieba x 3,763 ops/sec ±1.18% (92 runs sampled)
18
-
nodejieba x 2,783 ops/sec ±0.67% (91 runs sampled)
19
-
Cut 1184 words bench suite: Fastest is @node-rs/jieba
20
-
21
-
@node-rs/jieba x 16.10 ops/sec ±1.58% (44 runs sampled)
22
-
nodejieba x 9.81 ops/sec ±2.39% (29 runs sampled)
23
-
Cut 246568 words bench suite: Fastest is @node-rs/jieba
24
-
25
-
@node-rs/jieba x 1,739 ops/sec ±0.87% (92 runs sampled)
26
-
nodejieba x 931 ops/sec ±1.31% (89 runs sampled)
27
-
Tag 1184 words bench suite: Fastest is @node-rs/jieba
28
-
29
-
@node-rs/jieba x 6.19 ops/sec ±2.01% (20 runs sampled)
30
-
nodejieba x 3.06 ops/sec ±5.39% (12 runs sampled)
31
-
Tag 246568 words bench suite: Fastest is @node-rs/jieba
0 commit comments