Timer overhaul: update tests

This commit is contained in:
John McCardle 2026-01-03 22:44:53 -05:00
commit cec76b63dc
78 changed files with 521 additions and 495 deletions

View file

@ -427,7 +427,7 @@ def print_analysis():
print(f" Note: This overhead is acceptable given query speedups")
def run_benchmarks(runtime=None):
def run_benchmarks(timer=None, runtime=None):
"""Main benchmark runner."""
global results
@ -458,4 +458,4 @@ if __name__ == "__main__":
if "--headless" in sys.argv or True: # Always run immediately for benchmarks
run_benchmarks()
else:
mcrfpy.setTimer("run_bench", run_benchmarks, 100)
bench_timer = mcrfpy.Timer("run_bench", run_benchmarks, 100, once=True)