Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Safari/537.36
Chrome 100
Windows
Desktop
2 years ago
Test name Executions per second
Math.floor() 4994544.0 Ops/sec
Lodash _.floor() 4808232.5 Ops/sec
bitwise NOT 13709019.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Math.floor()

  • Lodash _.floor()

  • bitwise NOT