| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Stress tests on |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #64728 +/- ##
==========================================
- Coverage 91.85% 90.15% -1.71%
==========================================
Files 400 752 +352
Lines 178855 251884 +73029
Branches 27331 47368 +20037
==========================================
+ Hits 164292 227078 +62786
- Misses 14234 16164 +1930
- Partials 329 8642 +8313 see 485 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Both of these are passing stress tests over main, not over this PR |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM but please stress test the PR head.
Sorry, something went wrong.
|
Stress test on PR: https://ci.nodejs.org/job/node-stress-single-test/837/ |
Sorry, something went wrong.
Sorry, something went wrong.
An expired timer can run before the first complete event loop iteration, disabling the histogram before it records any samples. Drive a known number of iterations with setImmediate before checking the histograms, and share the chain between resolution variants. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: codex:gpt-5.6-sol PR-URL: nodejs#64728 Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20test-performance-eventloopdelay Reviewed-By: Filip Skokan <panva.ip@gmail.com>
| Back | FazBrowse Home | New Git URL |
Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20test-performance-eventloopdelay
Problem
The test enables the histogram and checks it from a 20 ms timer.
On slow or contended systems, that timer can expire before the first complete event loop iteration.
The timer then disables the histogram before its uv_check callback records a sample.
Previous fixes addressed related but distinct failures:
The failing samplePerIteration checks were added later by #62935 and still depend on elapsed time.
Solution
Drive a known number of event loop iterations using setImmediate before disabling and checking each histogram.
The default-resolution and large-resolution checks share one iteration chain, removing the duplicated timing logic.
Assisted-by: codex:gpt-5.6-sol