Avatar for the vortex-data user
vortex-data
vortex
BlogDocsChangelog

perf: BitBuffer::from(Vec<bool>) use collect_bool

#5325Merged
Comparing
ji/bitbuffer-vec-bool-refactor
(
ce62d55
) with
develop
(
e866f75
)
CodSpeed Performance Gauge
+20%
Improvement
66
Untouched
975
New
43
Archived
888

Benchmarks

1972 total
decode_primitives[f32, (1000, 8)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+20%
27.5 µs23 µs
decode_primitives[f32, (1000, 2)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+20%
27.6 µs23 µs
decode_primitives[f32, (1000, 32)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
27.8 µs23.3 µs
decode_primitives[f32, (1000, 128)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
27.9 µs23.4 µs
decode_primitives[f32, (1000, 4)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.1 µs23.6 µs
chunked_dict_primitive_canonical_into[f32, (1000, 10, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
840.1 µs705.1 µs
chunked_dict_primitive_canonical_into[u32, (1000, 10, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
841.7 µs706.6 µs
chunked_dict_primitive_into_canonical[u32, (1000, 10, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
818.7 µs688.4 µs
chunked_dict_primitive_into_canonical[f32, (1000, 10, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
839.2 µs705.9 µs
decode_primitives[u8, (1000, 32)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.3 µs23.8 µs
decode_primitives[u8, (1000, 4)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.3 µs23.8 µs
decode_primitives[u8, (1000, 128)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.3 µs23.9 µs
decode_primitives[u8, (1000, 8)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.3 µs23.9 µs
decode_primitives[u8, (1000, 512)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+19%
28.4 µs23.9 µs
chunked_dict_primitive_into_canonical[f32, (1000, 100, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
856.8 µs722.4 µs
chunked_dict_primitive_canonical_into[u32, (1000, 100, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
856.9 µs722.7 µs
chunked_dict_primitive_into_canonical[u32, (1000, 100, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+19%
835.6 µs704.8 µs
decode_primitives[f32, (1000, 512)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+18%
28.9 µs24.4 µs
chunked_dict_primitive_canonical_into[f32, (1000, 100, 100)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+18%
870.7 µs735.8 µs
chunked_dict_primitive_canonical_into[u32, (1000, 10, 10)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+18%
107.1 µs90.7 µs
decode_primitives[i64, (1000, 8)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+18%
29.8 µs25.3 µs
chunked_dict_primitive_into_canonical[u32, (1000, 10, 10)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+18%
105.9 µs90 µs
decode_primitives[i64, (1000, 4)]
vortex-array/benches/dict_compress.rs
CodSpeed Performance Gauge
+18%
30 µs25.5 µs
chunked_dict_primitive_canonical_into[f32, (1000, 10, 10)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+18%
109.1 µs92.9 µs
chunked_dict_primitive_into_canonical[u32, (1000, 100, 10)]
vortex-array/benches/chunked_dict_builder.rs
CodSpeed Performance Gauge
+17%
107.6 µs91.6 µs

Commits

Click on a commit to change the comparison range
Base
develop
e866f75
0%
refactor: use collect_bool in BitBuffer From<Vec<bool>> impl
bfd2bd4
3 months ago
by joseph-isaacs
+19.66%
refactor: use collect_bool in BitBuffer From<Vec<bool>> impl
ce62d55
3 months ago
by joseph-isaacs
© 2026 CodSpeed Technology
Home Terms Privacy Docs