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 1836932.6 Ops/sec
setTime 1915481.8 Ops/sec
Mod 24 Hours 9627602.0 Ops/sec
Script Preparation code:
Tests:
  • new Date

  • setTime

  • Mod 24 Hours