Repository navigation
feat(id): frame_cost bench profile — view/layout fuel and wall at 10k/100k/1M applied events (#13085) - #13209
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed.
Warning Some tools did not complete. Review the errors below.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
dezren39
force-pushed
the
lane-qc-13085
branch
from
November 23, 2026 11:13
a396a84 to
7b520a7
Compare
…/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.
dezren39
force-pushed
the
lane-qc-13085
branch
from
November 23, 2026 11:17
7b520a7 to
c676f60
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements the frame-cost slice of the #6304 scale & performance stress program. #6304 itself stays open.
What
New
frame_costprofile inpkgs/id/benches/world_bench.rs: the Territory-class guest (checked-interritory.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 throughWorldInstance::metrics(fuel =fuel_lastof dedicated calls; wall = median of five calls).ID_BENCH_FRAME_EVENTSselects a single size;--quickruns a 200-event smoke size. Adds workloads only, no new instrumentation, per the design.Measured (reference laptop, 2026-11-23)
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_BUDGETSbaseline 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-botwith what you need.