Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
one year ago
Test name Executions per second
Date.now() 302939.6 Ops/sec
new Date().getTime(); 267989.3 Ops/sec
performance.now() 237682.3 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()


;