Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_2 like Mac OS X) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0 Mobile/14C92 Safari/602.1
Mobile Safari 10
iOS 10.2
iPhone
8 years ago
Test name Executions per second
Math.floor 1997402.0 Ops/sec
Bitwise 4595076.5 Ops/sec
Script Preparation code:
Tests:
  • Math.floor

  • Bitwise