GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: stress_join bench profile — cold/warm join at 1x/10x tiers (#13084) by dezren39 · Pull Request #13424 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Lands the #13084 join-time benches (Phase 14 of #6304), taken over from Lane QK's orphaned claim under Drew's 2026-11-23 batch approval of the former flag holds.

What

New stress_join profile in pkgs/id/benches/world_bench.rs (+651/−3) measuring, per stress tier:

  • Cold join — open the world store, load the latest checkpoint, replay the journal tail, produce the first view frame.
  • Warm join — catch-up snapshot + first view frame against a resident world.
  • For the tier's hot world (5 reps) and the active-world population (one join per world), each with the journal at a checkpoint boundary and at the mid-interval worst case (255-event tail: the 256-event / 2,000 ms checkpoint cadence minus the checkpoint itself).

Fixtures reuse the stress_gen generation and verify against its manifest exactly as the generator defines it (FNV-1a over the journal bytes + restored sequence vs expected_state_hash); every measured join re-verifies restored sequence, program inputs, and first frame after the clock stops. Results are recorded in the design doc's first measured limits table (4 new rows) in this same PR.

Disclosures, also in the bench header:

  • Checkpoint fixtures mirror WorldCore::checkpoint_entries in the legacy admin-history form: the current form's JournalAdminHistory has crate-private fields and no public constructor, so a bench outside id-worlds cannot build one — filed as id-worlds: JournalAdminHistory cannot be constructed outside the crate — no public constructor for current-form checkpoint fixtures #13421. The retained window is carried in full and serializes under the writer's own inline bound.
  • The 10x hot world runs at the 256-participant codified cap, so warm setup revokes one roster member in the resident core (memory only) to admit the measured joiner.

Measured (reference laptop, 2026-11-23; seed 22673)

1x (manifest hot_state_hash=cf92e013f46e3d2c): hot world cold p50 4.608 ms boundary / 7.312 ms mid-interval; warm p50 0.868 / 0.846 ms. Active worlds cold p50 0.192 / 0.189 ms; warm 0.033 / 0.020 ms.

10x (manifest hot_state_hash=c7c4fb2805ee72ed): hot world cold p50 6.224 ms boundary / 6.186 ms mid-interval; warm p50 0.884 / 0.592 ms. Active worlds cold p50 0.170 / 0.148 ms; warm 0.020 / 0.018 ms.

Headline: cold join grows only ~1.4x from the 10k-event to the 100k-event hot world — the checkpoint-carried retained window dominates; history length is nearly free.

Verification

Release bench binary built on the reference laptop (cargo bench --bench world_bench --no-run, exit 0; bench file rustfmt-clean). --quick --only stress_join smoke + full 1x and 10x stress_join runs: all 8 cells per tier emitted, all joins verified. Runs executed under heavy multi-lane load with RUSTC_WRAPPER= after the shared sccache server stalled (filed as #13423).

#13084's remaining dependency effect: #13087 (first full 10x stress run) names #13084 among its inputs; this landing clears that leg.


Run Proof
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
All reactions
  • 👍 1 reaction
@dezren39
id: stress_join bench profile — cold/warm join at 1x/10x tiers (#13084)
696a4b7
Adds the `stress_join` profile to benches/world_bench.rs: cold join
(open store, load latest checkpoint, replay journal tail, first view
frame) and warm join (snapshot + first frame against a resident
world), for the stress tiers' hot world and active-world population,
each with the journal at a checkpoint boundary and at the
mid-interval worst case (255-event tail, the 256-event / 2,000 ms
checkpoint cadence minus the checkpoint itself).

Fixtures reuse the stress_gen generation (manifest-verified: FNV-1a
over the journal bytes + restored sequence against the manifest's
expected_state_hash). Checkpoint forms mirror WorldCore::
checkpoint_entries in the legacy admin-history form — the current
form's JournalAdminHistory has crate-private fields and no public
constructor, so a bench outside id-worlds cannot build one (filed
as #13421); the retained window is carried in full and serializes
under the writer's own inline bound. Every measured join verifies
the restored sequence, program input count, and first frame against
the manifest-verified reference after the clock stops. At the 10x
hot world's 256-participant cap, warm setup revokes one roster
member in the resident core to admit the measured joiner.

Results are recorded in the scale/perf design's first measured
limits table: cold join grows only ~1.4x from the 10k-event to the
100k-event hot world (the checkpoint-carried retained window
dominates; history length is nearly free); warm joins are
sub-millisecond to ~1 ms at both tiers.

Verification: release bench binary on the reference laptop;
--quick smoke plus full 1x and 10x stress_join runs, all cells
emitted and verified (runs under multi-lane load; sccache bypassed
after the shared server stalled — filed as #13423).
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c3d9229d-3a0e-4458-bfe8-8ade5f206b80
Commits

Reviewing files that changed from the base of the PR and between a2eeea7 and 696a4b7.

Files selected for processing: 2

  • doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/2026-11-23T07-53-00Z_design_scale_perf_stress_v1.md
  • pkgs/id/benches/world_bench.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
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-23T15:41:30.838647Z 696a4b7 PR opened
ℹ️ 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit d3e5721 into main Nov 23, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the lane-xz-13084 branch November 23, 2026 15:40
This was referenced Nov 23, 2026
id(phase-14): join-time benches — cold and warm join at stress tiers #13084
Closed
book(id): High-level roadmap chapter (Code Book programme #13905) #13961
Merged
Code Book + Lab Book programme: whole-project book, per-book roadmap sections, lab book, Code Space #13905
Closed
book(code): correction pass — owning issues #13918/#13920 and nine status reversals (#13905) #13980
Merged
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
This was referenced Nov 24, 2026
id(phase-14): first 10x stress run — measured limits table update #13087
Closed
id(phase-14): 100x feasibility run — find and record the wall #13088
Open
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 25, 2026
id(phase-14): Scale & performance hardening — core topic (research + design) #6281
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.