Files
cpubro/test-5600.js
2025-10-13 08:21:26 +13:00

32 lines
1.0 KiB
JavaScript

const { fetchBenchmarkData, findBenchmarkScore } = require('./scrapers/cpubenchmark');
async function test5600() {
console.log('Fetching benchmark data...');
const benchmarkData = await fetchBenchmarkData(console.log);
const testCPU = "AMD Ryzen 5 5600 CPU 6 Core / 12 Thread - Max Boost 4.4GHz - 35MB Cache - AM4 Socket - 65W TDP - Heatsink Required";
console.log(`\nTesting: ${testCPU.substring(0, 50)}...`);
const score = findBenchmarkScore(testCPU, benchmarkData);
console.log(`Found Score: ${score}`);
// Check what CPUs have "5600" in them
console.log('\nAll CPUs with "5600" in name:');
Object.keys(benchmarkData)
.filter(name => name.includes('5600'))
.forEach(name => {
console.log(` ${name}: ${benchmarkData[name]}`);
});
// Check specifically for Ryzen 5 5600
console.log('\nCPUs with "Ryzen 5 5600":');
Object.keys(benchmarkData)
.filter(name => name.includes('Ryzen 5 5600'))
.forEach(name => {
console.log(` ${name}: ${benchmarkData[name]}`);
});
}
test5600().catch(console.error);