Run details:
Mozilla/5.0 (Linux; Android 12; SM-N980F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Mobile Safari/537.36 EdgA/103.0.1264.47
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Date.now() 2064368.1 Ops/sec
new Date().getTime(); 1717116.4 Ops/sec
performance.now() 1112394.6 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()


;