Run details:
Mozilla/5.0 (Android 14; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0
Firefox Mobile 120
Android
Mobile
one year ago
Test name Executions per second
Date.now() 8168962.0 Ops/sec
new Date().getTime(); 5224391.5 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();