Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Testing Intl performance
(version: 0)
Comparing performance of:
Global Intl vs Intl per-iteration
Created:
one year ago
by:
Guest
Go to the latest result
Tests:
Global Intl
var nf = new Intl.NumberFormat('fr', {style: 'currency', currency: 'USD'}); for (var i = 0; i < 2000; i += 1) { nf.format(i); }
Intl per-iteration
for (var i = 0; i < 2000; i += 1) { new Intl.NumberFormat('fr', {style: 'currency', currency: 'USD'}).format(i); }
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Global Intl
Intl per-iteration
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser/OS:
Chrome 130 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Global Intl
1K/s
Intl per-iteration
31/s
View exact numbers
Test name
Executions per second
✓
Global Intl
1,266 Ops/sec
Intl per-iteration
31 Ops/sec
Related benchmarks
Number.toLocaleString vs Intl.NumberFormat4
Intl.NumberFormat
NumberFormat
Comments
Confirm delete:
Do you really want to delete benchmark?