Run details:
Mozilla/5.0 (Linux; Android 10; SM-G965U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
4 years ago
Test name Executions per second
Date.now() 682932.0 Ops/sec
new Date().getTime(); 570501.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();