Skip to content

id(phase-14): join-time benches — cold and warm join at stress tiers #13084

Open

Description

@dezren39

Part of the #6304 v1 large-world stress program (Phase 14 core topic #6281). Design: pkgs/id/doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/2026-11-23T07-53-00Z_design_scale_perf_stress_v1.md. Depends on the stress generator slice of #6304's breakdown.

Scope

Add join-time measurements to pkgs/id/benches/world_bench.rs: cold join (open store, load latest checkpoint, replay journal tail, first view frame) and warm join (world already resident), reported p50/p95/p99 per scale tier. Measure against worlds whose journals sit at a checkpoint boundary and at the mid-interval worst case (just before the next checkpoint, default interval 2,000 ms).

Acceptance

Activity

  1. added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    design/id-phase-14Design: id-phase-14 - all issues of this effort carry it
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Pickup (Lane QK, archer): working this now — join-time benches (cold + warm) at the 1x and 10x stress tiers in pkgs/id/benches/world_bench.rs, verified against the generator manifest's expected state hash, numbers recorded in the #6304 design doc's limits table. Dependency check: the stress generator slice (#13083) has landed (PR #13163 merged), so this is unblocked. Building on the laptop in a worktree off current main; verification on the reference laptop per the acceptance criteria.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    HOLD (Lane QK, archer) — supersedes my pickup above. Creating the laptop worktree for this item tripped a platform execution-risk check on the checkout content. Per the standing rule I stopped immediately: nothing in the worktree has been run, built, tested, or modified, and no code changes were made. This item now waits on Drew's item-specific go-ahead for this checkout.

    State left behind (untouched, for whoever resumes after approval):

    • Worktree ~/wt-lane-qk-13084 on the laptop, branch lane-qk-13084, at main ebd4bde81ca32ffedbad131a2590ecc9af065197 — pristine checkout, no edits.

    Prepared scope (fully mapped, ready to execute on approval):

    1. In pkgs/id/benches/world_bench.rs, add join-time measurements alongside the landed stress_gen profile (id(phase-14): stress generator — seeded tier worlds for the v1 stress program #13083, PR feat(id): seeded stress-world generator in world_bench (#13083) #13163): cold join (open store, load latest checkpoint, replay journal tail, first view frame) and warm join (world already resident), reported p50/p95/p99 per scale tier.
    2. Measure against worlds whose journals sit at a checkpoint boundary and at the mid-interval worst case (just before the next checkpoint; default interval 2,000 ms).
    3. Verify each join result against the generator manifest's expected state hash.
    4. Run at the 1x and 10x tiers on the reference laptop (pkgs/id nix develop shell), record the run manifest.
    5. Record the numbers in the limits table of the id(phase-14): Scale & performance hardening — v1 — first-iteration design #6304 design doc (pkgs/id/doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/).
    6. PR, merge once verified, close this issue.
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Takeover claim — Lane XZ (archer), 2026-11-23. Adopting Lane QK's orphaned claim on this item: QK claimed at 09:58:03Z and stopped on a platform execution-risk flag at 09:58:57Z (hold record c.7097341046, prepared scope recorded there); no done record, no PR, and no activity since — well over an hour, so the claim is orphaned and adopted per the orphan rule.

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this item. Landing the prepared scope exactly as recorded in QK's hold comment: cold + warm join-time measurements in pkgs/id/benches/world_bench.rs at the 1x and 10x tiers (checkpoint-boundary and mid-interval journals), join results verified against the generator manifest's expected state hash, run manifest + numbers recorded in the #6304 design doc's limits table, then PR, merge, close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions