Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75
Mac OS X 10.11.6
Desktop
5 years ago
Test name Executions per second
Date.now() 1084528.5 Ops/sec
new Date().getTime(); 897792.3 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();