HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
Number.toString(36)
2K/s
Number.toString(16)
1K/s

Fastest: Number.toString(36) (1.2x faster)

View exact numbers
  • Number.toString(36): 1,835 ops/sec
  • Number.toString(16): 1,468 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
    Number.toString(16)
    Number.toString(36)

    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/134.0.0.0 Safari/537.36
Chrome 134 on Windows
View result in a separate tab
Number.toString(36)
1K/s
Number.toString(16)
931/s
View exact numbers
Test name Executions per second
Number.toString(36) 1,116 Ops/sec
Number.toString(16) 931 Ops/sec