Experimental CPU Optimize Techniques
CI / test (push) Successful in 1m1s
Release rolling / release (push) Successful in 7m25s

This commit is contained in:
Raven Scott
2026-07-21 11:58:29 -04:00
parent 58fcc52d6c
commit 1d902a89b0
8 changed files with 149 additions and 68 deletions
+2 -5
View File
@@ -11,13 +11,10 @@ import {
makeCpuIdleChart,
makeNumaNodeMemChart,
} from '../../../shared/metrics.js'
import { readFileCached } from '../../utils/fd-cache.js'
function readFile(p) {
try {
return fs.readFileSync(p, 'utf8')
} catch {
return null
}
return readFileCached(p)
}
function rate(prev, cur, dtSec) {