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 4a46576
Browse filesBrowse the repository at this point in the historyBrowse files
perf(rust): a run collects while it waits for the host
A long-lived run kept up to 64k slots of garbage between cycles, most of what a
small one held. The threshold while computing stays 64k slots, so a short
program still never collects. A run that stops to wait for the host collects
there, a whole cycle, once it has made 8k slots since its last one
(Vm::gc_idle): time the program was not going to use. A heap over 256k slots
keeps collecting in steps.
examples/gc_bench, 20,000 events: palette loop peak live memory 16.1 to 1.9
MB; 50 runs with 5 active 51.7 to 13.2 MB; collection time and event latency
unchanged.
0 commit comments