Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 5 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
Date.now() 384816.4 Ops/sec
new Date().getTime(); 343802.9 Ops/sec
performance.now() 271424.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()