Mathematical vs bitwise multiplication

Benchmark created on


Setup

let x = 2;
let y = 1;

Test runner

Ready to run.

Testing in
TestOps/sec
Mathematical multiplication
let z = x * y;
ready
Bitwise multiplication
let z = x << y;
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.