Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Mac OS X 10.10.3
Other
8 years ago
Test name Executions per second
new Date 1883738.0 Ops/sec
setTime 1899090.4 Ops/sec
Mod 24 Hours 10225558.0 Ops/sec
Script Preparation code:
Tests:
  • new Date

  • setTime

  • Mod 24 Hours