Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15
Safari 15
Linux
Desktop
3 years ago
Test name Executions per second
pow 5480496.5 Ops/sec
** 373561600.0 Ops/sec
* 368444608.0 Ops/sec
Tests:
  • pow

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

     
    var tmp = 6 ** 21;
  • *

     
    var tmp = 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6;