Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
asdadkaskdjalksdjaklsjflkasf
(version: 0)
gdfgdfgdf
Comparing performance of:
test1 vs test2
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
const a = [...Array(1000).keys()] const keys = [100, 10, 56, 500, 678]
Tests:
test1
k = a.filter(num=>keys.includes(num))
test2
s = a.find(num=>num===100); s = a.find(num=>num===10); s = a.find(num=>num===56); s = a.find(num=>num===500); s = a.find(num=>num===678)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
test1
test2
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?