Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Date.toLocaleDateString vs Date.toDateString
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
one year ago
Date().toDateString()
2.8M/s
Date().toLocaleDateString()
1.2M/s
View exact numbers
Test name
Executions per second
✓
Date().toDateString()
2,832,962 Ops/sec
Date().toLocaleDateString()
1,246,540 Ops/sec
Tests:
Date().toDateString()
const x = new Date().toDateString();
Date().toLocaleDateString()
const x = new Date().toLocaleDateString();