Commit Graph

2 Commits

Author SHA1 Message Date
Mitchell Hashimoto
5f16939905 benchmark: add dense style replacement workload
Add a replacement mode that keeps all but one requested style live
while repeatedly adding and releasing unique styles. This isolates
dense backward-shift deletion and ID reuse without triggering the
all-dead bulk reset.

Generate replacement styles on demand so long runs continue to
exercise misses instead of cycling through the resident working set.
2026-07-12 06:58:39 -07:00
Mitchell Hashimoto
c68d27c5fa benchmark: add style set workloads
Add focused live-lookup and all-dead churn workloads for the terminal
style set. The benchmark uses a real page-backed set so its layout and
offset access match the production path.

The lookup mode repeatedly acquires existing styles while preserving their
liveness. The churn mode releases the complete working set between passes
to model clear and redraw behavior.
2026-07-12 06:58:38 -07:00