Run details:
Mozilla/5.0 (Android 12; Mobile; rv:121.0) Gecko/121.0 Firefox/121.0
Firefox Mobile 121
Android
Mobile
one year ago
Test name Executions per second
Date.now() 5672149.0 Ops/sec
new Date().getTime(); 4219977.0 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();