Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
small Array vs TypedArray write performance
(version: 1)
Comparing performance of:
Array write vs TypedArray write
Created:
one month ago
by:
Guest
Jump to the latest result
Tests:
Array write
"use strict"; const arr = new Array(64).fill(0); for (let i=0, len=arr.length; i<len; i++) { arr[i] = i };
TypedArray write
"use strict"; const typedArr = new Uint8Array(64).fill(0); for (let i=0, len=typedArr.length; i<len; i++) { typedArr[i] = i };
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:
one month ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15
Browser/OS:
Safari 26 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Array write
8425950.0 Ops/sec
TypedArray write
17516384.0 Ops/sec
Related benchmarks:
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 (Int32Array)
Array vs TypedArray write performance (Float64Array)
small Array vs TypedArray read performance
Comments
Confirm delete:
Do you really want to delete benchmark?