test(perps): add reusable visible-pipeline probe - #34949
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Both files are purely additive with no modifications to existing code. Since all production-facing code paths are unchanged and the new utility is entirely gated behind Performance Test Selection: |
|
Consolidated into #34953 to keep the dev-validation delivery in one PR. The reviewed probe-core commits and tests are preserved there. |
Description
Stack 3 of the Perps performance instrumentation, based on #34948. Adds the development-only state machine used by the cross-platform
perps.performancerecipe to distinguish demand, resident/cache visibility, fresh lifecycle takeover, account/context generations, and the next-frame visible boundary.The probe emits only through DevLogger when
__DEV__and explicitly activated. It adds no production telemetry and is kept separate from the product and Sentry contracts.Stack
Validation
Recipe
One cross-platform recipe:
perps.performance. Platform is selected only by--device; no Android/iOS recipe copies.