spiraldb
fsst
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize `Compressor::rebuild_from` by removing full pass on the two-bytes codes
#222
Merged
Comparing
adamg/optimize-rebuild-from
(
579bf95
) with
develop
(
fbe1ce2
)
CodSpeed Performance Gauge
+13%
Improvement
3
Untouched
22
New
5
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
New
Untouched
30 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress-into-reuse
benches/micro.rs::bench_micro::bench_decompress_short::decompress-short/8b-64b
CodSpeed Performance Gauge
+15%
687.8 ns
600.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-twobytes
benches/micro.rs::bench_micro::bench_compress::compress-overhead
CodSpeed Performance Gauge
+14%
238.6 ns
209.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-hashtab
benches/micro.rs::bench_micro::bench_compress::compress-overhead
CodSpeed Performance Gauge
+11%
303.6 ns
274.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
empty-table
benches/micro.rs::bench_micro::bench_rebuild_from::rebuild-from
CodSpeed Performance Gauge
N/A
N/A
90.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mixed-length-table
benches/micro.rs::bench_micro::bench_rebuild_from::rebuild-from
CodSpeed Performance Gauge
N/A
N/A
91.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
one-byte-table
benches/micro.rs::bench_micro::bench_rebuild_from::rebuild-from
CodSpeed Performance Gauge
N/A
N/A
90.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
trained-table
benches/micro.rs::bench_micro::bench_rebuild_from::rebuild-from
CodSpeed Performance Gauge
N/A
N/A
91.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
two-byte-table
benches/micro.rs::bench_micro::bench_rebuild_from::rebuild-from
CodSpeed Performance Gauge
N/A
N/A
90.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress-into-reuse
benches/micro.rs::bench_micro::bench_decompress_short::decompress-short/16b-128b
CodSpeed Performance Gauge
+7%
921.9 ns
863.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress
benches/compress.rs::compress_bench::bench_small_input::small-input
CodSpeed Performance Gauge
+4%
2.3 µs
2.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-only
benches/compress.rs::compress_bench::bench_small_input::small-input
CodSpeed Performance Gauge
-2%
3.1 µs
3.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-only
benches/compress.rs::compress_bench::bench_dbtext::dbtext/wikipedia
CodSpeed Performance Gauge
+1%
18.2 ms
18.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
train-and-compress
benches/compress.rs::compress_bench::bench_dbtext::dbtext/wikipedia
CodSpeed Performance Gauge
0%
21.9 ms
21.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-only
benches/compress.rs::compress_bench::bench_dbtext::dbtext/urls
CodSpeed Performance Gauge
0%
31.8 ms
31.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
train-and-compress
benches/compress.rs::compress_bench::bench_dbtext::dbtext/urls
CodSpeed Performance Gauge
0%
34.6 ms
34.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress-only
benches/compress.rs::compress_bench::bench_dbtext::dbtext/l_comment
CodSpeed Performance Gauge
0%
12.8 ms
12.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
train-and-compress
benches/compress.rs::compress_bench::bench_small_input::small-input
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
train-and-compress
benches/compress.rs::compress_bench::bench_dbtext::dbtext/l_comment
CodSpeed Performance Gauge
0%
15.7 ms
15.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress
benches/micro.rs::bench_micro::bench_compress::cf=8
CodSpeed Performance Gauge
0%
977.5 µs
977.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress-into-reuse-cf8
benches/micro.rs::bench_micro::bench_decompress_escape_heavy::decompress-regimes/1mb
CodSpeed Performance Gauge
0%
975.3 µs
975.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress-into-reuse-all-escape
benches/micro.rs::bench_micro::bench_decompress_escape_heavy::decompress-regimes/1mb
CodSpeed Performance Gauge
0%
4 ms
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress
benches/micro.rs::bench_micro::bench_compress::all-escape
CodSpeed Performance Gauge
0%
4 ms
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress
benches/compress.rs::compress_bench::bench_dbtext::dbtext/l_comment
CodSpeed Performance Gauge
0%
5.1 ms
5.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decompress
benches/compress.rs::compress_bench::bench_dbtext::dbtext/wikipedia
CodSpeed Performance Gauge
0%
7.3 ms
7.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compress
benches/micro.rs::bench_micro::bench_compress::all-escape
CodSpeed Performance Gauge
0%
11.9 ms
11.9 ms
1
2
Commits
Click on a commit to change the comparison range
Base
develop
fbe1ce2
+13.03%
Optimize Compressor::rebuild_from
579bf95
28 days ago
by AdamGS
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs