Run details:
Mozilla/5.0 (Linux; Android 12; XQ-AT72) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
one year ago
Test name Executions per second
Date.now() 1606181.0 Ops/sec
new Date().getTime(); 807821.9 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();