Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
Using the pow7() function 445631712.0 Ops/sec
Using the ** operator 448039936.0 Ops/sec
Using Math.pow() 418655872.0 Ops/sec
Multiplying seven times 412281408.0 Ops/sec
Script Preparation code:
Tests:
  • Using the pow7() function

  • Using the ** operator

  • Using Math.pow()

  • Multiplying seven times

  • Using the pow27() function

  • Using the pow37() function

  • Using the powMult7() function