diff options
Diffstat (limited to 'third-party/benchmark/bindings/python/google_benchmark/example.py')
-rw-r--r-- | third-party/benchmark/bindings/python/google_benchmark/example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/benchmark/bindings/python/google_benchmark/example.py b/third-party/benchmark/bindings/python/google_benchmark/example.py index 9134e8cffeaf..487acc9f1e09 100644 --- a/third-party/benchmark/bindings/python/google_benchmark/example.py +++ b/third-party/benchmark/bindings/python/google_benchmark/example.py @@ -102,7 +102,7 @@ def with_options(state): @benchmark.register(name="sum_million_microseconds") @benchmark.option.unit(benchmark.kMicrosecond) -def with_options(state): +def with_options2(state): while state: sum(range(1_000_000)) |