Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
testttttinnnnggg
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Browser:
Chrome 120
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
collectAutomatedPricingExcludedBanks
29829176.0 Ops/sec
collectAutomatedPricingExcludedBanks2
21047072.0 Ops/sec
Tests:
collectAutomatedPricingExcludedBanks
const banks = [{ excluded: false, name: 'A' }, { excluded: false, name: 'B' }, { excluded: false, name: 'C' }, { excluded: false, name: 'D' }, { excluded: false, name: 'E' }, { excluded: false, name: 'F' }, { excluded: true, name: 'G' }, { excluded: true, name: 'H' }, { excluded: true, name: 'I' }, { excluded: true, name: 'J' }, { excluded: true, name: 'K' }, { excluded: true, name: 'L' }] const collectAutomatedPricingExcludedBanks = (banks) => { const excludedBanks = [] banks.forEach((bank) => { if (bank.excluded) { excludedBanks.push(bank.name) } }) return excludedBanks } collectAutomatedPricingExcludedBanks(banks)
collectAutomatedPricingExcludedBanks2
const banks = [{ excluded: false, name: 'A' }, { excluded: false, name: 'B' }, { excluded: false, name: 'C' }, { excluded: false, name: 'D' }, { excluded: false, name: 'E' }, { excluded: false, name: 'F' }, { excluded: true, name: 'G' }, { excluded: true, name: 'H' }, { excluded: true, name: 'I' }, { excluded: true, name: 'J' }, { excluded: true, name: 'K' }, { excluded: true, name: 'L' }] const collectAutomatedPricingExcludedBanks = (banks) => { return banks.filter(bank => bank.excluded).map(bank => bank.name) } collectAutomatedPricingExcludedBanks(banks)