Commit 6b0cfafe652 for nodejs
commit 6b0cfafe652eaacf8739f320d214ef6dbfb44e7a
Author: Stewart X Addison <6487691+sxa@users.noreply.github.com>
Date: Thu Nov 12 14:41:07 2026 +0000
test: increase iterations on histogram test after snapshot changes
Signed-off-by: Stewart X Addison <sxa@ibm.com>
PR-URL: https://github.com/nodejs/node/pull/67379
Reviewed-By: Philipp Dunkel <pip@pipobscure.com>
Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
diff --git a/test/parallel/test-perf-hooks-histogram-external-memory.js b/test/parallel/test-perf-hooks-histogram-external-memory.js
index 7e98bd206ec..9167d0da4bb 100644
--- a/test/parallel/test-perf-hooks-histogram-external-memory.js
+++ b/test/parallel/test-perf-hooks-histogram-external-memory.js
@@ -26,7 +26,7 @@ observer.observe({ entryTypes: ['gc'] });
// triggers a major GC if that memory is reported. The GC trigger and finalization
// can vary depending on V8 internals, so only check the occurrence of a major GC here.
const histogram = createHistogram();
-for (let i = 0; i < 400; i++) histogram.snapshot();
+for (let i = 0; i < 800; i++) histogram.snapshot();
(async () => {
// Performance entries for garbage collections are delivered asynchronously.