Run details:
Mozilla/5.0 (Linux; Android 7.0; SAMSUNG-SM-G935A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36
Chrome Mobile 70
Android 7.0
Mobile
5 years ago
Test name Executions per second
AoS 4.3 Ops/sec
SoA 0.7 Ops/sec
SoA - one component per loop 0.7 Ops/sec
Interlaced Array - no loop unrolling 0.6 Ops/sec
Interlaced Array - with loop unrolling 0.6 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling


;