Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Windows 7
Other
8 years ago
Test name Executions per second
new Date 2916980.8 Ops/sec
setTime 3976114.0 Ops/sec
Mod 24 Hours 99186856.0 Ops/sec
Script Preparation code:
Tests:
  • new Date

  • setTime

  • Mod 24 Hours