Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Linux
Desktop
3 years ago
Test name Executions per second
Date.now() 2812493.5 Ops/sec
new Date().getTime(); 2317467.0 Ops/sec
performance.now() 1696162.5 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()