Run details:
Mozilla/5.0 (Linux; Android 10; SM-T510) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Android
Tablet
2 years ago
Test name Executions per second
Date.now() 295964.5 Ops/sec
new Date().getTime(); 267792.3 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();