Run details:
Mozilla/5.0 (Linux; Android 10; A7 Pro Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
2 years ago
Test name Executions per second
Date.now() 224578.9 Ops/sec
new Date().getTime(); 196248.4 Ops/sec
performance.now() 134120.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()