Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
+new Date 19.3 Ops/sec
new Date().getTime() 25.9 Ops/sec
Date.now() 31.4 Ops/sec
Tests:
  • +new Date

  • new Date().getTime()

  • Date.now()


;