Run details:
Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Chrome OS 14816.131.0
Desktop
11 months ago
Test name Executions per second
Date.now() 583777.6 Ops/sec
new Date().getTime(); 507540.8 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();