Tests:

Historical Performance Data aggregated from 33 community runs

Desktop Results:
Chrome 26 runs
splice
154.5M/s
padStart
53.8M/s

Fastest: splice (2.9x faster)

View exact numbers
  • splice: 154,494,944 ops/sec
  • padStart: 53,809,184 ops/sec
Firefox 7 runs
splice
658.4M/s
padStart
58.3M/s

Fastest: splice (11.3x faster)

View exact numbers
  • splice: 658,383,296 ops/sec
  • padStart: 58,279,936 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
    padStart
    splice

    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/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Chrome 138 on Mac OS X 10.15.7
View result in a separate tab
splice
139.8M/s
padStart
65.1M/s
View exact numbers
Test name Executions per second
splice 139,782,816 Ops/sec
padStart 65,069,220 Ops/sec