Skip to content

Commit

Permalink
Merge branch 'clean-up' into optimize-sap
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Nov 14, 2023
2 parents d450ae0 + 55f497e commit 19df654
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/mops/benchmarks/benchmark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import gc
import math
import time

Expand All @@ -6,6 +7,8 @@


def benchmark(function, repeats=1000, warmup=10, plot=True):
gc.disable()

for _ in range(warmup):
function()

Expand Down

0 comments on commit 19df654

Please sign in to comment.