Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
test js nb comparezarg
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Browser:
Chrome 138
Operating system:
Linux
Device Platform:
Desktop
Date tested:
7 months ago
Test name
Executions per second
if
469598.2 Ops/sec
nannn
93688.3 Ops/sec
Tests:
if
const test = (value) => value === '' || value === undefined || value === null console.log(!test(42))
nannn
const test = (value) => !Number.isNaN(Number.parseFloat(value)) console.log(test(42))