Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Intl.NumberFormat 221024
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/128.0.0.0 Safari/537.36
Browser:
Chrome 128
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Cached
1990.1 Ops/sec
Non cached
29.7 Ops/sec
Tests:
Cached
const NUMBER_GROUPING_FORMATTER = new Intl.NumberFormat( 'en-US', // Any country with thousand separator , { style: 'decimal', useGrouping: true, }, ); for (let i = 0; i < 1_000; i++) { NUMBER_GROUPING_FORMATTER.format(i) }
Non cached
for (let i = 0; i < 1000; i++) { const NUMBER_GROUPING_FORMATTER = new Intl.NumberFormat( 'en-US', // Any country with thousand separator , { style: 'decimal', useGrouping: true, }, ); NUMBER_GROUPING_FORMATTER.format(i) }