Run details:
Mozilla/5.0 (Linux; Android 13; SM-G781B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
Date.now() 1710910.5 Ops/sec
new Date().getTime(); 1538101.1 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();