Run details:
Mozilla/5.0 (Linux; U; Android 11; es-us; Redmi Note 8 Pro Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.3.0-gn
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
Date.now() 1227867.1 Ops/sec
new Date().getTime(); 1039904.2 Ops/sec
performance.now() 760985.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()