mirror of https://github.com/borgbackup/borg.git
benchmark: fix return value, fixes #8113
This commit is contained in:
parent
334bfcda04
commit
a13b5d1b79
|
@ -226,8 +226,6 @@ class BenchmarkMixIn:
|
||||||
spec = "msgpack"
|
spec = "msgpack"
|
||||||
print(f"{spec:<12} {size:<10} {timeit(lambda: msgpack.packb(items), number=100):.3f}s")
|
print(f"{spec:<12} {size:<10} {timeit(lambda: msgpack.packb(items), number=100):.3f}s")
|
||||||
|
|
||||||
return 0
|
|
||||||
|
|
||||||
def build_parser_benchmarks(self, subparsers, common_parser, mid_common_parser):
|
def build_parser_benchmarks(self, subparsers, common_parser, mid_common_parser):
|
||||||
from ._common import process_epilog
|
from ._common import process_epilog
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue