Run details:
Mozilla/5.0 (Linux; Android 9; SM-J530F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
Date.now() 192711.0 Ops/sec
new Date().getTime(); 162932.8 Ops/sec
performance.now() 138387.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()