Run details:
Mozilla/5.0 (Windows NT 10.0; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Windows
Desktop
10 months ago
Test name Executions per second
Date.now() 14857435.0 Ops/sec
new Date().getTime(); 9946512.0 Ops/sec
performance.now() 5168443.0 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()