Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Create Large List
(version: 2)
For benchmarking other programs
Comparing performance of:
1000 vs 10000 vs 100000 vs 1000000
Created:
11 months ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
function createLargeList(n) { const arr = []; for (i=0;i<n;i++) { arr.push(i); } return arr; }
Tests:
1000
const x = createLargeList(1000)
10000
const x = createLargeList(10000)
100000
const x = createLargeList(100000)
1000000
const x = createLargeList(1000000)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
1000
10000
100000
1000000
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
11 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Browser/OS:
Chrome 136 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
1000
285906.2 Ops/sec
10000
33816.2 Ops/sec
100000
1376.6 Ops/sec
1000000
129.3 Ops/sec
Related benchmarks:
Test for
swddddddddddddddddddd
testsssssssss
push vs splice mytest
for loop length vs length+1
for loop length vs length+1 vs less-equal
Array last index
Performance of JavaScript .loops
Pushing
Comments
Confirm delete:
Do you really want to delete benchmark?