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