Skip to content

perf: parallelize TF2 cold map loading - #12

Merged
Hona merged 3 commits into
mainfrom
perf/tf2-two-second-cold-load-v2
Jul 21, 2026
Merged

Hona merged 3 commits into
mainfrom
perf/tf2-two-second-cold-load-v2

Conversation

@Hona

@Hona Hona commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • replay the threaded TF2 cold-load checkpoint onto merged PR Fix TF2 menu and projectile presentation #10 without dropping its GameUI, Particle material-state, viewmodel-depth, display-frame, or cache-recency changes
  • run TF2 compilation through a cross-origin-isolated shared-memory Chromium WASM worker pool
  • reuse prepared map, collision, visibility, model dependencies, and source-backed texture planes while removing repeated large hashes and copies
  • add the BSP-prefetched cold-map profile; observed best Console-to-Ready time remains 6.527 seconds, with the 2-second roadmap target still in progress

Verification

  • bun test: 310 passed
  • bun run test:rust: passed all locked workspaces
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • bun run verify:tf2-wasm jump_beef
  • production Vite build
  • headed profile:cold-map reached Ready after conflict integration

Remaining

  • world compilation, presentation compilation, and renderer upload remain serial barriers
  • full verify:browser could not run because agent-browser is unavailable on PATH

Supersedes #11.

Copilot AI review requested due to automatic review settings July 21, 2026 09:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Hona
Hona merged commit 1ddda6f into main Jul 21, 2026
1 check passed
@Hona
Hona deleted the perf/tf2-two-second-cold-load-v2 branch July 21, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants