Run details:
Mozilla/5.0 (X11; CrOS x86_64 14092.66.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.95 Safari/537.36
Chrome 93
Chrome OS 14092.66.0
Desktop
3 years ago
Test name Executions per second
Date.now() 2689442.5 Ops/sec
new Date().getTime(); 2215105.8 Ops/sec
performance.now() 1840040.9 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()