Math.pow vs bitwise left shift operator

Benchmark created by Miguel Mota on


Test runner

Ready to run.

Testing in
TestOps/sec
Math.pow
Math.pow(2, 24)
ready
Bitwise left shift
1 << 24
ready

Revisions

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

  • Revision 1: published by Miguel Mota on