Tests:
  • Compare if, x predefined as 0

  • Compare if else

  • Compare math abs

  • Compare without abs with pow

  • Compare without abs or pow

  • Compare math abs invert

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Compare if, x predefined as 0
    Compare if else
    Compare math abs
    Compare without abs with pow
    Compare without abs or pow
    Compare math abs invert

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Firefox 53 on Windows 7
View result in a separate tab
Test name Executions per second
Compare if, x predefined as 0 41311972.0 Ops/sec
Compare if else 41392088.0 Ops/sec
Compare math abs 43699804.0 Ops/sec
Compare without abs with pow 35070864.0 Ops/sec
Compare without abs or pow 40044400.0 Ops/sec
Compare math abs invert 44019528.0 Ops/sec


;