Tests:
  • Math.

    AخA
     
    var tmp = Math.pow(6, 2);
  • Math.pow vs ** vs

     
    var tmp = Math.pow(6, 1 / 8);
  • Math.pow vs **

     
    var tmp = Math.pow(6, 1 / 64);
  • Math.pow vs

     
    var tmp = Math.pow(6, 1 / 256);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Math.
    Math.pow vs ** vs
    Math.pow vs **
    Math.pow vs

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Windows
View result in a separate tab
Test name Executions per second
Math. 241343872.0 Ops/sec
Math.pow vs ** vs 215805856.0 Ops/sec
Math.pow vs ** 225993184.0 Ops/sec
Math.pow vs 230521248.0 Ops/sec