From a0391efa00f27635d8339e24b98b1b7c24a71c64 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 15 Oct 2024 15:05:24 -0400 Subject: [PATCH] Do #362 correctly: Fix the %% in the argparse help, not the docstring --- .../data-files/benchmarks/bm_async_tree/run_benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyperformance/data-files/benchmarks/bm_async_tree/run_benchmark.py b/pyperformance/data-files/benchmarks/bm_async_tree/run_benchmark.py index a05f8771..2b1f3d5c 100644 --- a/pyperformance/data-files/benchmarks/bm_async_tree/run_benchmark.py +++ b/pyperformance/data-files/benchmarks/bm_async_tree/run_benchmark.py @@ -6,7 +6,7 @@ 1) "none": No actual async work in the async tree. 2) "io": All leaf nodes simulate async IO workload (async sleep 50ms). -3) "memoization": All leaf nodes simulate async IO workload with 90%% of +3) "memoization": All leaf nodes simulate async IO workload with 90% of the data memoized 4) "cpu_io_mixed": Half of the leaf nodes simulate CPU-bound workload and the other half simulate the same workload as the @@ -159,7 +159,7 @@ def add_parser_args(parser): Determines which benchmark to run. Options: 1) "none": No actual async work in the async tree. 2) "io": All leaf nodes simulate async IO workload (async sleep 50ms). -3) "memoization": All leaf nodes simulate async IO workload with 90% of +3) "memoization": All leaf nodes simulate async IO workload with 90%% of the data memoized 4) "cpu_io_mixed": Half of the leaf nodes simulate CPU-bound workload and the other half simulate the same workload as the