Tests:
  • Reverse array comparison (short)

  • For loop early exit (short)

  • Reverse array comparison (long)

  • For loop early exit (long)

  • Smallest solution (short)

  • Smallest solution (long)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Reverse array comparison (short)
    For loop early exit (short)
    Reverse array comparison (long)
    For loop early exit (long)
    Smallest solution (short)
    Smallest solution (long)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Reverse array comparison (short) 41767.4 Ops/sec
For loop early exit (short) 47084.6 Ops/sec
Reverse array comparison (long) 75462.4 Ops/sec
For loop early exit (long) 89476.1 Ops/sec
Smallest solution (short) 42897.4 Ops/sec
Smallest solution (long) 83139.5 Ops/sec