Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
Chrome Mobile 117
Android
Mobile
one year ago
Test name Executions per second
AoS 4.1 Ops/sec
SoA 96.1 Ops/sec
SoA - one component per loop 68.3 Ops/sec
Interlaced Array - no loop unrolling 69.2 Ops/sec
Interlaced Array - with loop unrolling 84.1 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling