Skip to content

feat(jieba): upgrade jieba-rs to 0.11.0 - #1212

Open
messense wants to merge 1 commit into
napi-rs:mainfrom
messense:jieba-rs-0.11
Open

messense wants to merge 1 commit into
napi-rs:mainfrom
messense:jieba-rs-0.11

Conversation

@messense

Copy link
Copy Markdown

Summary

  • Bump the workspace jieba-rs dependency from 0.10 to 0.11.0. No source changes are needed; the addon builds and all jieba tests pass.
  • Refresh the README benchmark tables with a fresh run of @node-rs/jieba against nodejieba@3.5.8 (Apple M4 Max, Node.js v26.8.2).
  • Print a label before each tinybench table in benchmark/jieba.ts so the four suites can be told apart in the output.

Benchmark (throughput avg ops/s)

Suite @node-rs/jieba nodejieba
Cut 1184 words 16,342 7,497
Cut 246568 words 56 26
Tag 1184 words 6,315 3,281
Tag 246568 words 24 12

nodejieba was installed outside the workspace only for the measurement, so no new dependency is added.

Test plan

  • yarn build in packages/jieba
  • yarn ava packages/jieba/__tests__/*.spec.ts (5 passed)
  • yarn bench in packages/jieba

🤖 Generated with Claude Code

Bump the workspace jieba-rs dependency from 0.10 to 0.11.0. No source
changes are required; the addon builds and all tests pass.

Refresh the README benchmark tables with a fresh run of @node-rs/jieba
against nodejieba@3.5.8, and print a label before each tinybench table
so the suites can be told apart in the output.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant