Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36
Chrome Mobile 91
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
Date.now() 306530.8 Ops/sec
new Date().getTime(); 269598.4 Ops/sec
performance.now() 243658.3 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()