Bitwise floor

one year ago
User agent: Mozilla/5.0 (Linux; Android 7.0; SM-G955F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Test name Executions per second
Math.floor 871598.5 Ops/sec
Bitwise 3273344.0 Ops/sec
Script Preparation code:
Tests:
  • Math.floor

  • Bitwise

Open this result on MeasureThat.net