Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
8 months ago
Test name Executions per second
Date.now() 6003697.0 Ops/sec
new Date().getTime(); 4369198.0 Ops/sec
performance.now() 3227643.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()


;