Anyone with DDR5 able to run the following in node?
const { performance } = require('perf_hooks');
function testRamSpeed(sizeInMB = 1024) {
const size = sizeInMB * 1024 * 1024;
// Allocate two large buffers in RAM
const source = Buffer.allocUnsafe(size);
const target = Buffer.allocUnsafe(size);
// Warm up the memory (ensures pages are mapped)
source.fill(1);
target.fill(0);
const start = performance.now();
Comment too long. Click here to view the full text.