Skip to content

Commit 07298da

Browse files
authored
Do #362 correctly: Fix the %% in the argparse help, not the docstring (#363)
1 parent eb539c6 commit 07298da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
1) "none": No actual async work in the async tree.
88
2) "io": All leaf nodes simulate async IO workload (async sleep 50ms).
9-
3) "memoization": All leaf nodes simulate async IO workload with 90%% of
9+
3) "memoization": All leaf nodes simulate async IO workload with 90% of
1010
the data memoized
1111
4) "cpu_io_mixed": Half of the leaf nodes simulate CPU-bound workload and
1212
the other half simulate the same workload as the
@@ -159,7 +159,7 @@ def add_parser_args(parser):
159159
Determines which benchmark to run. Options:
160160
1) "none": No actual async work in the async tree.
161161
2) "io": All leaf nodes simulate async IO workload (async sleep 50ms).
162-
3) "memoization": All leaf nodes simulate async IO workload with 90% of
162+
3) "memoization": All leaf nodes simulate async IO workload with 90%% of
163163
the data memoized
164164
4) "cpu_io_mixed": Half of the leaf nodes simulate CPU-bound workload and
165165
the other half simulate the same workload as the

0 commit comments

Comments
 (0)