Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.14
Desktop
9 months ago
Test name Executions per second
Date.now() 6629379.5 Ops/sec
new Date().getTime(); 5099602.5 Ops/sec
performance.now() 3510230.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()