Skip to content

Commit 809723d

Browse files
committed
Apply ruff format
1 parent 562593a commit 809723d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pyperformance/data-files/benchmarks/bm_xdsl/run_benchmark.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,12 @@ def add_cmdline_args(cmd, args):
9696

9797
if __name__ == "__main__":
9898
runner = pyperf.Runner(add_cmdline_args=add_cmdline_args)
99-
runner.metadata['description'] = "Benchmark xDSL constant folding integer addition"
100-
runner.argparser.add_argument("--size", type=int, default=1000,
101-
help="Number of integer additions (default: 100)")
99+
runner.metadata["description"] = "Benchmark xDSL constant folding integer addition"
100+
runner.argparser.add_argument(
101+
"--size",
102+
type=int,
103+
default=1000,
104+
help="Number of integer additions (default: 100)",
105+
)
102106
args = runner.parse_args()
103-
runner.bench_time_func('xdsl_constant_fold', bench_xdsl_constant_folding, args.size)
107+
runner.bench_time_func("xdsl_constant_fold", bench_xdsl_constant_folding, args.size)

0 commit comments

Comments
 (0)