Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
one year ago
Test name Executions per second
performance.now() 242770.9 Ops/sec
Date.now() 293123.3 Ops/sec
new Date().getTime(); 289102.3 Ops/sec
Script Preparation code:
Tests:
  • performance.now()

  • Date.now()

  • new Date().getTime();


;