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
Go 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
Static
39.1M/s
Generation
7.5M/s
View exact numbers
Test name
Executions per second
✓
Static
39,070,204 Ops/sec
Generation
7,458,416 Ops/sec
Related benchmarks
length assignment during loop
12132132132131243214124
Comments
Confirm delete:
Do you really want to delete benchmark?