Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Array vs TypedArray write performance (Float64Array)
(version: 1)
Comparing performance of:
Array write vs TypedArray write
Created:
one year ago
by:
Guest
Go 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 Float64Array(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:
8 months ago
)
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1
Browser/OS:
Mobile Safari 18 on iOS 18.1
View result in a separate tab
Embed
Embed Benchmark Result
TypedArray write
18K/s
Array write
12K/s
View exact numbers
Test name
Executions per second
✓
TypedArray write
18,314 Ops/sec
Array write
12,157 Ops/sec
Related benchmarks
Direct Array vs Typed Array vs Array read performances
Array vs TypedArray write 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 (Int32Array)
Comments
Confirm delete:
Do you really want to delete benchmark?