Tests:
  • pow

    AخA
     
    var tmp = Math.pow(6, 21);
  • for-loop

     
    var tmp = 0; for(var i = 0; i < 21; i++) { tmp *= 6; }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    pow
    for-loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132 on Windows
View result in a separate tab
Test name Executions per second
pow 941815616.0 Ops/sec
for-loop 37092840.0 Ops/sec