Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
presized array vs int32array
(version: 1)
Benchmark.js
Comparing performance of:
array vs int32array
Created:
one month ago
by:
Guest
Go to the latest result
Tests:
array
const array = new Array(100); for(let i = 0; i < 100; i++){ array[i] = i; }
int32array
const array = new Int32Array(100); for(let i = 0; i < 100; i++){ array[i] = i; }
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
array
int32array
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one month ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Browser/OS:
Chrome 151 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
array
27.8M/s
int32array
2.5M/s
View exact numbers
Test name
Executions per second
✓
array
27,789,968 Ops/sec
int32array
2,494,787 Ops/sec
Related benchmarks
Array creation types
array vs int32array2
array vs int32array3
array vs int32array vs map fixed
Push to: array vs float32array performance test 3
Comments
Confirm delete:
Do you really want to delete benchmark?