Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 7
Other
8 years ago
Test name Executions per second
AoS 82.3 Ops/sec
SoA - one loop 45.0 Ops/sec
SoA - one component per loop 46.0 Ops/sec
Interlaced Array - no loop unrolling 51.0 Ops/sec
Interlaced Array - with loop unrolling 56.2 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling