Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Intl format
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko/20100101 Firefox/152.0
Browser:
Firefox 152
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
2 days ago
With Cache
3.2M/s
No cache
80K/s
View exact numbers
Test name
Executions per second
✓
With Cache
3,162,685 Ops/sec
No cache
79,816 Ops/sec
Script Preparation code:
FORMAT = { day: '2-digit', month: 'short', year: 'numeric' } formatter = undefined;
Tests:
No cache
const date = new Intl.DateTimeFormat('en-AU', FORMAT).format(new Date())
With Cache
if (!formatter) { formatter = new Intl.DateTimeFormat('en-AU', FORMAT); } const date = formatter.format(new Date())