aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-30 03:09:18 +0100
committereunhhu <[email protected]>2026-09-30 03:09:18 +0100
commita5ecc5f1ae83a6ad6d5522f826a1c6d2707264bc (patch)
tree1ddba7f4beef6955327e35cc4ee196206ca91146 /README.md
parenta6df26a8499522033277ce4f3cd76eee155169ee (diff)
downloadpure-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 'README.md')
0 files changed, 0 insertions, 0 deletions