Tests:
  • Compare if, x predefined as 0

  • Compare if else

  • Compare math abs

  • Compare without abs with pow

  • Compare without abs or pow

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

    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 41364900.0 Ops/sec
Compare if else 41659220.0 Ops/sec
Compare math abs 43788104.0 Ops/sec
Compare without abs with pow 35088160.0 Ops/sec
Compare without abs or pow 39709536.0 Ops/sec


;