Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
Date.now() 3784816.8 Ops/sec
new Date().getTime(); 2977631.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();