Script Preparation code:
Tests:

Historical Performance Data aggregated from 23 community runs

Desktop Results:
Chrome 23 runs
performance.now().toString(36)
3.3M/s
Date.now().toString(36)
2.3M/s
new Date().getTime().toString(36);
2.2M/s

Fastest: performance.now().toString(36) (1.4x faster)

View exact numbers
  • performance.now().toString(36): 3,250,104 ops/sec
  • Date.now().toString(36): 2,312,763 ops/sec
  • new Date().getTime().toString(36);: 2,241,574 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
    performance.now().toString(36)
    Date.now().toString(36)
    new Date().getTime().toString(36);

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Chrome 139 on Mac OS X 10.15.7
View result in a separate tab
performance.now().toString(36)
3.6M/s
Date.now().toString(36)
2.5M/s
new Date().getTime().toString(36);
2.4M/s
View exact numbers
Test name Executions per second
performance.now().toString(36) 3,632,414 Ops/sec
Date.now().toString(36) 2,463,664 Ops/sec
new Date().getTime().toString(36); 2,372,068 Ops/sec