Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
padStart vs repeat start
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0
Browser:
Chrome 132
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Repeat
16.5M/s
PadStart
14.9M/s
View exact numbers
Test name
Executions per second
✓
Repeat
16,546,624 Ops/sec
PadStart
14,927,152 Ops/sec
Tests:
PadStart
let x = "." return x.padStart(101, " ")
Repeat
let x = "." return " ".repeat(100) + x