Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test js nb comparezarg
(version: 1)
Comparing performance of:
if vs nannn
Created:
9 months ago
by:
Guest
Go to the latest result
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))
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
if
nannn
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
9 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Browser/OS:
Chrome 138 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
if
470K/s
nannn
94K/s
View exact numbers
Test name
Executions per second
✓
if
469,598 Ops/sec
nannn
93,688 Ops/sec
Related benchmarks
s ds fzzxzx2
Comments
Confirm delete:
Do you really want to delete benchmark?