Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Bitwise vs pow
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Bitwise pow
33.9M/s
Operand pow
33.0M/s
Math.pow
2.6M/s
View exact numbers
Test name
Executions per second
✓
Bitwise pow
33,926,440 Ops/sec
Operand pow
32,986,822 Ops/sec
Math.pow
2,591,437 Ops/sec
Tests:
Math.pow
const val = Math.pow(2, 12)
Operand pow
const val = 2 ** 12
Bitwise pow
const val = (1 << 12)