Repository navigation
Commit fd4e39c
committed
Mem.settle: one full collection after the boot's thin index is warm (JS only, once)
On the JS target the boot-time thin index build leaves ~0.9 GB of heap
capacity behind at the boot peak (3.35 -> 2.44 GB with collections, on a
copy of the real log). H.Mem.settle (effects/mem.js: Bun.gc(true) and
Bun.shrink, at most once per process; effects/mem.c: nothing, "") runs
when ThinWarm arrives (Hub.thin.warmed) and its line (time, RSS before and
after) is logged. It goes once store mode keeps the thin index small.1 parent 1900588 commit fd4e39c
4 files changed
Lines changed: 59 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11147 | 11147 | | |
11148 | 11148 | | |
11149 | 11149 | | |
11150 | | - | |
| 11150 | + | |
| 11151 | + | |
| 11152 | + | |
| 11153 | + | |
| 11154 | + | |
| 11155 | + | |
| 11156 | + | |
| 11157 | + | |
| 11158 | + | |
| 11159 | + | |
| 11160 | + | |
11151 | 11161 | | |
11152 | 11162 | | |
11153 | 11163 | | |
11154 | 11164 | | |
| 11165 | + | |
| 11166 | + | |
| 11167 | + | |
| 11168 | + | |
| 11169 | + | |
11155 | 11170 | | |
11156 | 11171 | | |
11157 | 11172 | | |
| |||
0 commit comments