Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Date.now()
5.6M/s
new Date();
4.9M/s
performance.now()
3.3M/s

Fastest: Date.now() (1.7x faster)

View exact numbers
  • Date.now(): 5,607,256 ops/sec
  • new Date();: 4,878,736 ops/sec
  • performance.now(): 3,290,526 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Date.now()
    new Date();
    performance.now()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:147.0) Gecko/20100101 Firefox/147.0
Firefox 147 on Mac OS X 10.15
View result in a separate tab
Date.now()
28.5M/s
new Date();
24.7M/s
performance.now()
11.6M/s
View exact numbers
Test name Executions per second
Date.now() 28,529,338 Ops/sec
new Date(); 24,682,098 Ops/sec
performance.now() 11,619,598 Ops/sec