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)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    AoS
    SoA - one loop
    SoA - one component per loop
    Interlaced Array - no loop unrolling
    Interlaced Array - with loop unrolling
    AoS (bracket notation)

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49 on Windows 7
View result in a separate tab
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