Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Array vs TypedArray write performance (Int32Array)
(version: 1)
Comparing performance of:
Array write vs TypedArray write
Created:
11 months ago
by:
Guest
Jump to the latest result
Tests:
Array write
var array = new Array(100000).fill(0); for (let i=0; i<array.length; i++) { array[i] = array[i] + 1; }
TypedArray write
var typedArray = new Int32Array(100000).fill(0); for (let i=0; i<typedArray.length; i++) { typedArray[i] = typedArray[i] + 1; }
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Array write
TypedArray write
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
11 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Browser/OS:
Chrome 136 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Array write
1906.1 Ops/sec
TypedArray write
5555.8 Ops/sec
Related benchmarks:
Array vs TypedArray write performance
TypedArray set() vs setter performance
Array vs TypedArray write performance %%%%%%%%%%%%
Array vs TypedArray write performance ttttttt
Array vs TypedArray write performance2
Array vs TypedArray read performance
very big Array vs TypedArray write performance
Array vs TypedArray vs f32 write performance
Array vs TypedArray write performance (Float64Array)
Comments
Confirm delete:
Do you really want to delete benchmark?