Run details:
Mozilla/5.0 (Android 12; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
one year ago
Test name Executions per second
Date.now() 5040970.0 Ops/sec
new Date().getTime(); 3403012.2 Ops/sec
performance.now() 1104859.2 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()