Run details:
Mozilla/5.0 (Android 10; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android
Mobile
4 years ago
Test name Executions per second
AoS 33.5 Ops/sec
SoA 17.2 Ops/sec
SoA - one component per loop 16.8 Ops/sec
Interlaced Array - no loop unrolling 16.4 Ops/sec
Interlaced Array - with loop unrolling 17.4 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling