Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
new Date from timestamp vs new Date from string
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/122.0.0.0 Safari/537.36 OPR/108.0.0.0
Browser:
Opera 108
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
new Date timestamp
7.5M/s
new Date string
2.7M/s
View exact numbers
Test name
Executions per second
✓
new Date timestamp
7,510,122 Ops/sec
new Date string
2,679,917 Ops/sec
Tests:
new Date timestamp
new Date(1678973400);
new Date string
const str = '2023-03-16' new Date(...str.split('-'))