messense
jieba-rs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Replace regex splitting with hand-rolled `SplitByCharacterClass`
#144
Merged
Comparing
replace-regex-with-char-class
(
9babb6a
) with
main
(
2ff6b3e
)
CodSpeed Performance Gauge
+38%
Improvement
11
Untouched
1
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.
single_thread
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::multithreaded
CodSpeed Performance Gauge
+38%
22 ms
16 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
+37%
37.9 µs
27.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multi_thread
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::multithreaded
CodSpeed Performance Gauge
+32%
22 ms
16.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cut_all
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::cut
CodSpeed Performance Gauge
+31%
34.4 µs
26.3 µ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
+25%
51.9 µs
41.6 µ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
+25%
51.9 µs
41.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tag
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::jieba
CodSpeed Performance Gauge
+23%
54.9 µs
44.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tfidf
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::keywords
CodSpeed Performance Gauge
+22%
56.8 µs
46.5 µ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
+19%
59.6 µs
50.3 µ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
+18%
59.5 µs
50.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
textrank
jieba/benches/jieba_benchmark.rs::benches::criterion_benchmark::keywords
CodSpeed Performance Gauge
+15%
76.8 µs
66.9 µ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%
390.7 ms
388.9 ms
Commits
Click on a commit to change the comparison range
Base
main
2ff6b3e
+37.78%
Replace regex splitting with hand-rolled `SplitByCharacterClass`
9babb6a
14 days ago
by messense
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs