mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-01 04:02:34 +00:00
Merge pull request #7665 from ThomasWaldmann/fix-benchmark
benchmark cpu: use sanitized path, fixes #7653
This commit is contained in:
commit
c89eb98c18
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue