Math.pow vs power vs multiplication
const max = 100_000;
const x = Array.from({length: max}, () => Math.random() * max);Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| Math.pow | | ready |
| ** | | ready |
| * | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.