Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 OPR/70.0.3728.95
Opera 70
Windows 7
Desktop
3 years ago
Test name Executions per second
Date.now() 1165107.9 Ops/sec
new Date().getTime(); 846242.8 Ops/sec
performance.now() 691354.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()


;