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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Browser:
Chrome 149
Operating system:
Linux
Device Platform:
Desktop
Date tested:
2 months ago
Benchmark engine:
Benchmark.js
Repeat
22.8M/s
PadStart
20.9M/s
View exact numbers
Test name
Executions per second
✓
Repeat
22,760,288 Ops/sec
PadStart
20,877,122 Ops/sec
Tests:
PadStart
let x = "." return x.padStart(101, " ")
Repeat
let x = "." return " ".repeat(100) + x