Test name | Executions per second |
---|---|
Outside | 19080820.0 Ops/sec |
Inside | 11790918.0 Ops/sec |
var p = [1,2,4,8,16,32,64,128,256,512];
for (var n=0;n<10;n++) {
var s = (Math.floor(65*0.098)+65)*p[n];
};
for (var n=0;n<10;n++) {
var s = (Math.floor(65*0.098)+65)*Math.pow(2,n);
};