Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 7
Other
8 years ago
Test name Executions per second
AoS 96.0 Ops/sec
SoA - one loop 32.7 Ops/sec
SoA - one component per loop 51.7 Ops/sec
Interlaced Array - no loop unrolling 51.8 Ops/sec
Interlaced Array - with loop unrolling 53.7 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling