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 97.3 Ops/sec
SoA - one loop 32.3 Ops/sec
SoA - one component per loop 53.0 Ops/sec
Interlaced Array - no loop unrolling 52.5 Ops/sec
Interlaced Array - with loop unrolling 53.8 Ops/sec
AoS (bracket notation) 94.1 Ops/sec
Script Preparation code:
Tests:
  • AoS

  • SoA - one loop

  • SoA - one component per loop

  • Interlaced Array - no loop unrolling

  • Interlaced Array - with loop unrolling

  • AoS (bracket notation)


;