Skip to content

perf: add trusted display spawn A/B profile#64

Merged
TypeThe0ry merged 1 commit into
devfrom
codex/perf-display-spawn-benchmark
Jul 16, 2026
Merged

perf: add trusted display spawn A/B profile#64
TypeThe0ry merged 1 commit into
devfrom
codex/perf-display-spawn-benchmark

Conversation

@TypeThe0ry

@TypeThe0ry TypeThe0ry commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • add a server-independent JMH benchmark for the 268 singleton display regions in a representative rendered table (312 active per-tile regions minus 44 private-hand regions that contain two specs)
  • guard the existing spawnAll contract: immutable result, stable order, null filtering, and one online-viewer snapshot per call
  • add a base-owned display-spawn paired A/B profile with time and normalized-allocation metrics
  • add the matching workflow-dispatch choice and PR label

Scope

Measurement infrastructure only. No production implementation is changed, and this PR makes no optimization claim.

Validation

All compilation, tests, protected-benchmark smoke, and standard server.jar smoke are delegated to GitHub Actions. A follow-up production-only candidate will run against this merged base and may merge only on PASS_OPTIMIZED.

@Arbousier1
Arbousier1 force-pushed the codex/perf-display-spawn-benchmark branch from 817390d to 1a71abe Compare July 16, 2026 05:58
@TypeThe0ry
TypeThe0ry marked this pull request as ready for review July 16, 2026 06:10
@TypeThe0ry
TypeThe0ry merged commit f778f8b into dev Jul 16, 2026
16 checks passed
@Arbousier1
Arbousier1 deleted the codex/perf-display-spawn-benchmark branch July 16, 2026 16:55
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