diff options
| author | eunhhu <[email protected]> | 2026-09-30 03:09:18 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-30 03:09:18 +0100 |
| commit | a5ecc5f1ae83a6ad6d5522f826a1c6d2707264bc (patch) | |
| tree | 1ddba7f4beef6955327e35cc4ee196206ca91146 /docs/design/validation | |
| parent | a6df26a8499522033277ce4f3cd76eee155169ee (diff) | |
| download | pure-a5ecc5f1ae83a6ad6d5522f826a1c6d2707264bc.tar.gz pure-a5ecc5f1ae83a6ad6d5522f826a1c6d2707264bc.zip | |
Count only the states the memory budget counts
An event under a budget counted its states twice, before and after,
walking every state. For the smallest event (a number added, no store)
that cost 21 ns in an app of one state and 125 ns in one of 32 (+17 %,
+38 %). The app now keeps a bit for each list (not a message's rows) and
text when it opens its module, and walks those alone: +10 ns and +29 ns
(+8 %, +9 %), and nothing without a budget. A served write costs tens of
microseconds, so its throughput does not see it.
Diffstat (limited to 'docs/design/validation')
0 files changed, 0 insertions, 0 deletions
