Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Android
Desktop
one month ago
Test name Executions per second
Date.now() 920111.8 Ops/sec
new Date().getTime(); 838719.9 Ops/sec
performance.now() 757365.2 Ops/sec
Script Preparation code:
Tests:
  • Date.now()

  • new Date().getTime();

  • performance.now()