Skip to content

perf: add full hotspot lifecycle benchmarks#109

Merged
Arbousier1 merged 1 commit into
devfrom
codex/perf-hotspot-baselines
Jul 18, 2026
Merged

perf: add full hotspot lifecycle benchmarks#109
Arbousier1 merged 1 commit into
devfrom
codex/perf-hotspot-baselines

Conversation

@TypeThe0ry

Copy link
Copy Markdown
Member

What changed

Adds dedicated JMH fixtures for:

  • complete region planning and application, including deferred work
  • ready-state riichi discard reactions without table setup noise
  • Sichuan waiting-tile and winning-shape evaluation
  • ray-proxy initial creation, geometry changes, stable refreshes, and viewer churn

Why

The existing microbenchmarks omitted planning allocations or included fixture construction, shuffle, UUID, and lifecycle setup. Those costs obscured the production hot paths and made paired A/B decisions unreliable.

Impact

This PR changes performance-test sources only. It establishes reproducible baselines for the follow-up one-hotspot PRs and does not alter gameplay or runtime behavior.

Validation

  • jmhJar
  • spotlessCheck
  • JDK 25 toolchain, Java target 21, Paper 1.20.1 dev bundle

@Arbousier1
Arbousier1 force-pushed the codex/perf-hotspot-baselines branch from fd11c39 to c736d19 Compare July 18, 2026 12:45
@Arbousier1
Arbousier1 force-pushed the codex/perf-hotspot-baselines branch from c736d19 to 074e2fd Compare July 18, 2026 12:46
@Arbousier1
Arbousier1 marked this pull request as ready for review July 18, 2026 12:56
@Arbousier1
Arbousier1 merged commit 51f2614 into dev Jul 18, 2026
14 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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