Run details:
Mozilla/5.0 (Android 13; Mobile; rv:108.0) Gecko/108.0 Firefox/108.0
Firefox Mobile 108
Android
Mobile
one year ago
Test name Executions per second
Date.now() 4753500.5 Ops/sec
new Date().getTime(); 1672275.1 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();