Skip to content

Commit 8243bb1

Browse files
committed
poll 3x more often when memory tracking so we catch cpython memory for short runs
1 parent ee09520 commit 8243bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/live_heap_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def main():
8888
proc = subprocess.Popen(benchmark)
8989
ppid = proc.pid
9090
while proc.poll() is None:
91-
time.sleep(0.3)
91+
time.sleep(0.1)
9292
uss_bytes = uss(ppid)
9393
heap_bytes = jmap(jmap_binary, ppid)
9494
f.write(f"{heap_bytes} {uss_bytes}\n")

0 commit comments

Comments
 (0)