Skip to content

Commit

Permalink
Disable Python Garbage Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed May 14, 2021
1 parent 444185c commit 49d4d76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nightly-benchmark/sitecustomize.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import atexit
import cProfile
import gc
import os
import sys
import uuid


gc.disable()


if not os.path.basename(sys.argv[0]).startswith("gprof2dot"):
p = cProfile.Profile()
p.enable()
Expand Down

0 comments on commit 49d4d76

Please sign in to comment.