Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
Date.now() 1131638.9 Ops/sec
new Date().getTime(); 1000268.2 Ops/sec
performance.now() 654328.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()