Run details:
Mozilla/5.0 (Linux; Android 10; ONE E1003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Date.now() 125369.3 Ops/sec
new Date().getTime(); 69416.0 Ops/sec
performance.now() 49515.2 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()