test(promise): replace wall-clock scaling gates with operation counts - #8059
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe promise keyed table now uses test-only operation probes for hash, equality, and slot comparisons. Timing-based scalability tests were replaced with deterministic assertions for indexed lookup, relocation, draining, and cleanup. ChangesPromise keyed-table operation gates
Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to The change replaces flaky wall-clock assertions with deterministic operation-count checks while preserving production behavior, and no actionable merge-blocking risk remains after normal checks and review. Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Exact-main evidence
Base: ef6e111
Local validation
The repository-wide file-size check is independently red on the base because crates/perry-runtime/src/timer.rs is 2010 lines. No production behavior or version changes are included.
Related to #7365; #7445 and #7822 already fixed the historical teardown and dispatch-IC mechanisms.
Summary by CodeRabbit