Skip to content

Commit

Permalink
Merge pull request #7665 from ThomasWaldmann/fix-benchmark
Browse files Browse the repository at this point in the history
benchmark cpu: use sanitized path, fixes #7653
  • Loading branch information
ThomasWaldmann committed Jun 22, 2023
2 parents 67a32ee + 420eae6 commit c89eb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/archiver/benchmark_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def chunkit(chunker_name, *args, **kwargs):
print(f"{spec:<12} {size:<10} {timeit(lambda: compressor.compress({}, random_10M), number=10):.3f}s")

print("msgpack ========================================================")
item = Item(path="/foo/bar/baz", mode=660, mtime=1234567)
item = Item(path="foo/bar/baz", mode=660, mtime=1234567)
items = [item.as_dict()] * 1000
size = "100k Items"
spec = "msgpack"
Expand Down

0 comments on commit c89eb98

Please sign in to comment.