Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Ubuntu
Other
8 years ago
Test name Executions per second
AoS 156.5 Ops/sec
SoA - one loop 62.1 Ops/sec
SoA - one component per loop 54.7 Ops/sec
Interlaced Array - no loop unrolling 53.2 Ops/sec
Interlaced Array - with loop unrolling 63.5 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling