Script Preparation code:
Tests:
  • Old npm leftpad

  • string repeat

  • Built-in method

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Old npm leftpad
    string repeat
    Built-in method

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 23 days ago)
Mozilla/5.0 (Android 10; Mobile; rv:132.0) Gecko/132.0 Firefox/132.0
Firefox Mobile 132 on Android
View result in a separate tab
Test name Executions per second
Old npm leftpad 1746.0 Ops/sec
string repeat 5115.9 Ops/sec
Built-in method 5021.3 Ops/sec