GeezerVison is showing github.com — feat(id): frame_cost bench profile — view/layout fuel and wall at 10k/100k/1M applied events (#13085) by dezren39 · Pull Request #13209 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Implements the frame-cost slice of the #6304 scale & performance stress program. #6304 itself stays open.
What
New frame_cost profile in pkgs/id/benches/world_bench.rs: the Territory-class guest (checked-in territory.wasm, perf-budgets baseline shape — two seats joined) takes N applied cursor-move inputs; the view and layout frames are then measured at full state through WorldInstance::metrics (fuel = fuel_last of dedicated calls; wall = median of five calls). ID_BENCH_FRAME_EVENTS selects a single size; --quick runs a 200-event smoke size. Adds workloads only, no new instrumentation, per the design.
Measured (reference laptop, 2026-11-23)
profile frame_cost guest=territory seats=2 events=10000 view_fuel=958616 view_wall_us_med=134.0 layout_fuel=958683 layout_calls=5 layout_wall_us_med=138.1 update_fuel_max=59807 applied_secs=0.192
profile frame_cost guest=territory seats=2 events=100000 view_fuel=958616 view_wall_us_med=127.5 layout_fuel=958683 layout_calls=5 layout_wall_us_med=125.5 update_fuel_max=59807 applied_secs=0.868
profile frame_cost guest=territory seats=2 events=1000000 view_fuel=958616 view_wall_us_med=145.4 layout_fuel=958683 layout_calls=5 layout_wall_us_med=147.7 update_fuel_max=59807 applied_secs=12.836
Finding
Frame cost is flat in applied-event count at this shape — identical fuel at 10k / 100k / 1M, ~9.6% of the 10M default budget — so no size is reported as a measured limit. Note the design §3's 7.1–7.8M Territory reference point is stale for the current checked-in module (the FUEL_BUDGETS baseline for territory view is 1,134,256); the binding frame limit for this guest class remains seats/board state (the perf-budgets doc's seat sweep), not history length. Wall times were taken under multi-lane load and are indicative; fuel is exact.
The three sizes are recorded in the #6304 limits table in the design doc, per the program's rule that results land in the same PR that lands a tier run.
Closes #13085.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
coderabbitai
Bot
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
The pull request is closed.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning Some tools did not complete. Review the errors below.
Clippy (1.99.1)
-
Clippy execution timed out
Clippy (1.99.1) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T11:19:12.908532Z |
c676f60 |
New commits |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…/100k/1M applied events (#13085)
New `frame_cost` profile in world_bench: the Territory-class guest
(checked-in territory.wasm, perf-budgets baseline shape — two seats
joined) takes N applied cursor-move inputs, then the view and layout
frames are measured at full state through WorldInstance::metrics
(fuel_last of dedicated calls; wall is the median of five calls).
Measured on the reference laptop, 2026-11-23 (fuel is exact; wall
times taken under multi-lane load, indicative only):
events=10000 view_fuel=958616 view_wall_us_med=134.0 layout_fuel=958683 layout_wall_us_med=138.1
events=100000 view_fuel=958616 view_wall_us_med=127.5 layout_fuel=958683 layout_wall_us_med=125.5
events=1000000 view_fuel=958616 view_wall_us_med=145.4 layout_fuel=958683 layout_wall_us_med=147.7
Frame cost is flat in applied-event count at this shape: ~9.6% of
the 10M default fuel budget at every size, so no size is reported
as a measured limit. The design's 7.1-7.8M Territory reference
point is stale for the current checked-in module (the FUEL_BUDGETS
baseline for territory view is 1,134,256); the binding frame limit
for this guest class remains seats/board state, not history length.
The three sizes are recorded in the #6304 limits table in the
scale & performance design doc.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|