diff --git a/nightly-benchmark/sitecustomize.py b/nightly-benchmark/sitecustomize.py index ecf7e0c..094db50 100644 --- a/nightly-benchmark/sitecustomize.py +++ b/nightly-benchmark/sitecustomize.py @@ -1,9 +1,15 @@ import atexit import cProfile +import gc import os import sys import uuid + +gc.disable() +gc.set_threshold(0) + + if not os.path.basename(sys.argv[0]).startswith("gprof2dot"): p = cProfile.Profile() p.enable()