contrib/perf.py
changeset 51615 a6bdd2e6f7cb
parent 51614 90ef3e042e10
child 51616 ecf4b959fa74
--- a/contrib/perf.py	Sun Apr 14 02:38:41 2024 +0200
+++ b/contrib/perf.py	Sun Apr 14 02:40:15 2024 +0200
@@ -581,6 +581,7 @@
         if setup is not None:
             setup()
         with context():
+            gc.collect()
             with prof:
                 with timeone() as item:
                     r = func()