Run details:
Mozilla/5.0 (Linux; Android 13) 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 29.2 Ops/sec
SoA - one component per loop 30.4 Ops/sec
Interlaced Array - no loop unrolling 30.4 Ops/sec
Interlaced Array - with loop unrolling 46.0 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling