Skip to content

perf(layer-loading): establish baseline and instrumentation [1/5] - #185

Open
Anthony Cintron (prbatero) wants to merge 1 commit into
mainfrom
prbatero/feat/perf-layer-loading-baseline
Open

perf(layer-loading): establish baseline and instrumentation [1/5]#185
Anthony Cintron (prbatero) wants to merge 1 commit into
mainfrom
prbatero/feat/perf-layer-loading-baseline

Conversation

@prbatero

Copy link
Copy Markdown
Contributor

Summary

Part 1 of 5 in the project layer-loading performance stack. Establish a reproducible baseline and opt-in observability before changing runtime behavior.

Changes

  • Add request-scoped logical data-layer timing and operation counters behind HASTE_PERF.
  • Add deterministic 5×2, 20×5, and 50×5 synthetic fixtures.
  • Add local replay, HTTP latency, and Playwright browser benchmark tools.
  • Add the Compose performance overlay and feature specification.

Testing

  • Phase 0 baseline reproduces 33 / 243 / 603 logical calls.
  • Browser benchmark syntax check passed.
  • Black, isort, flake8, and detect-secrets passed.

Stack

  • This PR: 1/5, based on main.
  • Next branch: prbatero/feat/perf-data-layer-core.

Review Notes

This PR intentionally adds measurement and documentation before the optimization. Runtime behavior is unchanged unless HASTE_PERF=true.

Measure the project-details N+1 path before changing runtime behavior. Add opt-in logical operation timing, deterministic synthetic fixtures, HTTP and browser benchmark tools, a reproducible Compose overlay, and the feature specification.
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.

1 participant