Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/113.0 Firefox/113.0
Firefox Mobile 113
Android
Mobile
one year ago
Test name Executions per second
Date.now() 6058068.0 Ops/sec
new Date().getTime(); 3525667.0 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();