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 1910056.5 Ops/sec
setTime 1812518.1 Ops/sec
Mod 24 Hours 10133442.0 Ops/sec
New Date set All 1703291.9 Ops/sec
Script Preparation code:
Tests:
  • new Date

  • setTime

  • Mod 24 Hours

  • New Date set All


;