Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144
Windows
Desktop
7 months ago
Benchmark.js
Using the ** operator
14.3M/s
Using the pow27() function
14.2M/s
Using the pow37() function
14.2M/s
Using the powMult7() function
14.2M/s
Using the pow7() function
14.2M/s
Using Math.pow()
14.2M/s
Multiplying seven times
14.1M/s
View exact numbers
Test name Executions per second
Using the ** operator 14,271,814 Ops/sec
Using the pow27() function 14,235,648 Ops/sec
Using the pow37() function 14,219,195 Ops/sec
Using the powMult7() function 14,191,543 Ops/sec
Using the pow7() function 14,185,901 Ops/sec
Using Math.pow() 14,160,823 Ops/sec
Multiplying seven times 14,141,877 Ops/sec
Script Preparation code:
Tests: