mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
buzhash64: integrate into borg benchmark command
This commit is contained in:
parent
63ff136dfe
commit
dc2dab1535
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue