Avatar for the ifduyue user
ifduyue
python-xxhash
BlogDocsChangelog

refactor: merge 4 C types into single XXHASHObject type

#155
Comparing
one-type-multiple-algo
(
beaf437
) with
master
(
945da72
)
CodSpeed Performance Gauge
0%
Untouched
148
Skipped
66

Benchmarks

214 total
test_xxh3_128_digest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
81.7 µs81.7 µs
test_xxh3_128_intdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
83.6 µs83.5 µs
test_xxh3_128_intdigest_10kb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
92.4 µs92.4 µs
test_xxh3_128_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_xxh64_hexdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
82.4 µs82.4 µs
test_xxh3_128_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_xxh3_64_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_xxh32_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
test_xxh64_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_xxh3_64_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_xxh32_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
test_xxh3_64_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_xxh3_128_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_xxh64_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_xxh64_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_xxh32_stream_update_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_xxh3_128_stream_update_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_xxh32_stream_update_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_xxh32_stream_update_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_xxh64_stream_update_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_xxh32_intdigest_5b_seed_kw
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
84.1 µs84.1 µs
test_xxh3_128_stream_update_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_xxh64_stream_update_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_xxh32_stream_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
test_xxh32_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms

Commits

Click on a commit to change the comparison range
Base
master
945da72
-0.4%
refactor: merge 4 C types into single XXHASHObject type
67d308e
3 days ago
by ifduyue
+0.01%
Add runtime tests verifying xxh64/xxh3_64 are distinct and xxh128/xxh3_128 are aliases
fcf90ea
3 days ago
by ifduyue
+0.06%
Replace switch(algo) dispatch with function-pointer table for stateful methods
beaf437
3 days ago
by ifduyue
© 2026 CodSpeed Technology
Home Terms Privacy Docs