Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
AoS 2.8 Ops/sec
SoA 47.6 Ops/sec
SoA - one component per loop 38.4 Ops/sec
Interlaced Array - no loop unrolling 38.4 Ops/sec
Interlaced Array - with loop unrolling 51.7 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling