Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Search strategy generation loss
(version: 1)
Comparing performance of:
Generation vs Static
Created:
one year ago
by:
Registered User
Jump to the latest result
Tests:
Generation
let searchStrategy = []; for (let i = 0; i < 10; i++) { searchStrategy.push(-i, i); }
Static
let searchStrategy = [0, -1, 1, -2, 2, -3, 3, -4, 4, -5, 5, -6, 6, -7, 7, -8, 8, -9, 9, -10, 10];
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Generation
Static
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Browser/OS:
Firefox 132 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Generation
7458416.0 Ops/sec
Static
39070204.0 Ops/sec
Related benchmarks:
I vs J
for vs for..in
length
array vs []
testtestasdadadadadsada
testtestasdadadadadsada2
test - marcel
length assignment during loop
12132132132131243214124
Comments
Confirm delete:
Do you really want to delete benchmark?