浏览代码

buzhash64: integrate into borg benchmark command

Thomas Waldmann 2 周之前
父节点
当前提交
dc2dab1535
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/borg/archiver/benchmark_cmd.py

+ 1 - 0
src/borg/archiver/benchmark_cmd.py

@@ -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")