Script Preparation code:
Tests:

Historical Performance Data aggregated from 36 community runs

Desktop Results:
Chrome 28 runs
Date.now()
7.3M/s
performance.now
3.3M/s

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

View exact numbers
  • Date.now(): 7,316,175 ops/sec
  • performance.now: 3,335,550 ops/sec
Firefox 8 runs
Date.now()
6.4M/s
performance.now
2.2M/s

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

View exact numbers
  • Date.now(): 6,375,700 ops/sec
  • performance.now: 2,228,944 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()
    performance.now

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Windows
View result in a separate tab
Date.now()
4.4M/s
performance.now
1.8M/s
View exact numbers
Test name Executions per second
Date.now() 4,387,294 Ops/sec
performance.now 1,753,910 Ops/sec