Bitshift Calculation experiment


Time and results are averaged out over 1000 iterations, on a Vercel instance, when the page is built (on a per request basis).

Perform 5000000*2 by bitshift or normally in typescript


Bitshift: 0.0007524409993784502 seconds

Multiplication: 0.0006816579990554601 seconds


Bitshift: 10000000

Multiplication: 10000000

true