config: Add 34 files
This commit is contained in:
31
test-5600.js
Normal file
31
test-5600.js
Normal file
@@ -0,0 +1,31 @@
|
||||
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);
|
Reference in New Issue
Block a user