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/137.0.0.0 Safari/537.36
Browser:
Chrome 137
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Bitwise pow
158.8M/s
Operand pow
156.3M/s
Math.pow
155.4M/s
View exact numbers
Test name
Executions per second
✓
Bitwise pow
158,823,904 Ops/sec
Operand pow
156,317,184 Ops/sec
Math.pow
155,381,856 Ops/sec
Tests:
Math.pow
const val = Math.pow(2, 12)
Operand pow
const val = 2 ** 12
Bitwise pow
const val = (1 << 12)