messense
jieba-rs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize hot paths for 17-29% speedup
#141
Merged
Comparing
perf/optimize-hot-paths
(
be0dda7
) with
main
(
f5514a0
)
CodSpeed Performance Gauge
+25%
Improvement
9
Untouched
3
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
12 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multi_thread
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::multithreaded
CodSpeed Performance Gauge
+25%
27.2 ms
21.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
single_thread
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::multithreaded
CodSpeed Performance Gauge
+25%
27.2 ms
21.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_hmm
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::cut
CodSpeed Performance Gauge
+17%
43 µs
36.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
with_hmm
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::cut
CodSpeed Performance Gauge
+16%
59.3 µs
51.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tag
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::jieba
CodSpeed Performance Gauge
+15%
61.8 µs
53.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
search_mode
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::tokenize
CodSpeed Performance Gauge
+15%
65.1 µs
56.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cut_for_search
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::cut
CodSpeed Performance Gauge
+12%
65.7 µs
58.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
default_mode
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::tokenize
CodSpeed Performance Gauge
+12%
60.6 µs
53.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tfidf
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::keywords
CodSpeed Performance Gauge
+10%
59.4 µs
53.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
textrank
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::keywords
CodSpeed Performance Gauge
+9%
81.9 µs
74.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cut_all
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::cut
CodSpeed Performance Gauge
+7%
34.7 µs
32.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
new
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::jieba
CodSpeed Performance Gauge
0%
392.1 ms
391.7 ms
Commits
Click on a commit to change the comparison range
Base
main
f5514a0
+25.95%
fix: resolve clippy mut_from_ref error in capi params_unwrap_mut
c3b5a5e
21 days ago
by messense
-0.54%
fix: address PR review comments on sparse_dag
be0dda7
21 days ago
by messense
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs