Bad data issue
ybAttGit opened this issue · comments
Hi!
For this node.js file:
const {performance} = require('perf_hooks');
const {eventLoopUtilization} = require('node:perf_hooks').performance;
setImmediate(() => {
const start = performance.now();
const elu = eventLoopUtilization();
let sum = 0;
for (let i = 0; i < 1000000; i++) {
sum += i;
}
const end = performance.now();
console.log(`ELU utilization: ${eventLoopUtilization(elu).utilization}`);
console.log(`Elapsed time: ${(end - start).toFixed(2)} milliseconds`);
});
I get the message Bad Data:
Doctor has found data analysis issue:
Something went wrong with the data analysis
Try running the benchmark for a longer time
If the issue persists, open an issue at https://github.com/clinicjs/node-clinic-doctor
What exactly should be the fix?