bitshift vs power

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
<<
const maxShift = (1n << 256n) - 1n;
ready
**
const maxPower = (2n ** 256n) - 1n;
ready

Revisions

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