buzhash64: integrate into borg benchmark command

This commit is contained in:
Thomas Waldmann 2025-06-05 19:32:27 +02:00
parent 63ff136dfe
commit dc2dab1535
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -147,6 +147,7 @@ class BenchmarkMixIn:
for spec, func in [
("buzhash,19,23,21,4095", lambda: chunkit("buzhash", 19, 23, 21, 4095, seed=0, sparse=False)),
("buzhash64,19,23,21,4095", lambda: chunkit("buzhash64", 19, 23, 21, 4095, seed=0, sparse=False)),
("fixed,1048576", lambda: chunkit("fixed", 1048576, sparse=False)),
]:
print(f"{spec:<24} {size:<10} {timeit(func, number=100):.3f}s")