Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Teste 2
(version: 0)
Comparing performance of:
For vs Map
Created:
5 years ago
by:
Guest
Jump to the latest result
Tests:
For
const myAwesomeArray = [1, 2, 3, 4, 5] myAwesomeArray.forEach(x => (x + x) * 10000000000)
Map
const myAwesomeArray = [1, 2, 3, 4, 5] myAwesomeArray.map(x => (x + x) * 10000000000)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
For
Map
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!
Related benchmarks:
fsdfsdsdsdfsd234234
soa vs aos
soa vs aos
Testerinho
cuid2 with various lengths
Comments
Confirm delete:
Do you really want to delete benchmark?