Avatar for the ifduyue user
ifduyue
python-xxhash
BlogDocsChangelog

Add per-object locking for thread safety, sub-interpreter and free-threaded Python support

#154Merged
Comparing
multi-threads
(
0c1c69f
) with
master
(
e3eb2c0
)
CodSpeed Performance Gauge
+2%
Untouched
54
New
94
Skipped
66

Benchmarks

214 total
test_xxh32_ctor_seed_kw
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A82.8 µs
test_xxh32_stream_update_digest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A187.6 µs
test_xxh32_stream_intdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A85.6 µs
test_xxh3_128_digest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A129.9 µs
test_xxh32_stream_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A2.2 ms
test_xxh3_128_ctor_empty
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A81.9 µs
test_xxh32_stream_update_digest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A3.3 ms
test_xxh32_digest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A81.7 µs
test_xxh32_stream_update_hexdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A85.8 µs
test_xxh32_stream_update_hexdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A187.9 µs
test_xxh3_128_ctor_seed_kw
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A84 µs
test_xxh32_stream_intdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A149.9 µs
test_xxh32_stream_update_digest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A85.2 µs
test_xxh3_128_hexdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A82.3 µs
test_xxh32_stream_update_hexdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A3.3 ms
test_xxh3_128_digest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A81.7 µs
test_xxh32_digest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A138.8 µs
test_xxh32_stream_update_intdigest_2mb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A3.3 ms
test_xxh32_stream_update_intdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A187.8 µs
test_xxh3_128_hexdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A130.2 µs
test_xxh32_hexdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A139.4 µs
test_xxh32_stream_digest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A84.3 µs
test_xxh32_stream_digest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A149.9 µs
test_xxh32_stream_hexdigest_5b
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A84.7 µs
test_xxh32_stream_hexdigest_64kb
tests/test_benchmark.py
CodSpeed Performance Gauge
N/A
N/A150.2 µs

Commits

Click on a commit to change the comparison range
Base
master
e3eb2c0
+1.69%
Add per-object locking for thread safety, sub-interpreter and free-threaded Python support
0c1c69f
5 days ago
by ifduyue
© 2026 CodSpeed Technology
Home Terms Privacy Docs