Script Preparation code:
Tests:
  • Reduce

  • Looping

  • Ifs

  • Destructuring

  • Object.entries

  • Single loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Reduce
    Looping
    Ifs
    Destructuring
    Object.entries
    Single loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83 on Windows 7
View result in a separate tab
Test name Executions per second
Reduce 533879.8 Ops/sec
Looping 547958.0 Ops/sec
Ifs 613705.1 Ops/sec
Destructuring 589090.1 Ops/sec
Object.entries 541770.9 Ops/sec
Single loop 1139277.6 Ops/sec


;