You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ff86d7
Browse filesBrowse the repository at this point in the historyBrowse files
perf(runner-shared): stream each memtrack frame when finding module events
Decompressing a whole frame before filtering it ties a worker's memory to
the frame's decoded size, which the event count per frame does not bound:
a frame of captured stacks decodes to hundreds of MB, held by every rayon
worker at once. Stream each frame through the existing event decoder
instead, so a worker holds about one zstd window and one event. Frames are
still decoded in parallel and events keep their artifact order.
This trades speed for bounded memory: on a 32-thread machine the 100M
event search takes about 1.85 s instead of 1.0 s, still well ahead of the
single-threaded streamed decoder.
0 commit comments