Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
array vs Float64Array vs Float32Array (sort)
(version: 1)
Comparing performance of:
array sort vs Float64Array sort vs Float32Array sort
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
var a = [...Array(10000)].map(_ => Math.random()); var ta = (new Float64Array(10000)).map(_ => Math.random()); var tb = (new Float32Array(10000)).map(_ => Math.random());
Tests:
array sort
a.sort();
Float64Array sort
ta.sort();
Float32Array sort
tb.sort();
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
array sort
Float64Array sort
Float32Array sort
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; rv:150.0) Gecko/20100101 Firefox/150.0
Browser/OS:
Firefox 150 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
array sort
1172.8 Ops/sec
Float64Array sort
7033.0 Ops/sec
Float32Array sort
9085.2 Ops/sec
Related benchmarks:
array vs int32array with conversion
array vs float32array without conversion
array vs float32array withoutconversion
array vs float32array without conversion 2
array vs float32array without conversion 3
array vs Float64Array (small) 2
array vs Float64Array sort
array vs float32array performance test
array vs float32array performance test2
Comments
Confirm delete:
Do you really want to delete benchmark?