Same as usual Float Array base SoA vs AoS but with classes and objects instead of raw number.
I was cursious if the benefit of SoA still holds true even with classes.
Same as https://www.measurethat.net/Benchmarks/Show/1909/0/soa-vs-aos but with classes.
And some window hackery to get around dated benchmarking suite...
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
SoA
AoS
Fastest:N/A
Slowest:N/A
Latest run results:
Run details: (Test run date:
25 days ago)
Mozilla/5.0 (Linux; arm_64; Android 13; TFY-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.6834.97 YaBrowser/25.2.8.97.00 SA/3 Mobile Safari/537.36