[qu2cu.benchmark] Increase benchmark repeat

This commit is contained in:
Behdad Esfahbod 2023-02-16 20:09:23 -07:00
parent aa6f60942b
commit 8c607b4efa

View File

@ -21,7 +21,7 @@ def setup_quadratic_to_curves():
return quadratics, MAX_ERR return quadratics, MAX_ERR
def run_benchmark(module, function, setup_suffix="", repeat=5, number=10): def run_benchmark(module, function, setup_suffix="", repeat=10, number=20):
setup_func = "setup_" + function setup_func = "setup_" + function
if setup_suffix: if setup_suffix:
print("%s with %s:" % (function, setup_suffix), end="") print("%s with %s:" % (function, setup_suffix), end="")