Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
caaaaaa
(version: 0)
Comparing performance of:
cached Intl.NumberFormat vs toLocaleString
Created:
3 years ago
by:
Guest
Jump to the latest result
Tests:
cached Intl.NumberFormat
window.a = window.a || new Intl.NumberFormat("en-US"); var a = window.a.format("10000")
toLocaleString
var a = Number.parseFloat("10000.23").toFixed(2).toLocaleString("en-US");
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
cached Intl.NumberFormat
toLocaleString
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Find_the_substring
IndexOf vs Includes vs lodash includes vs vs lodash IndexOf
IndexOf vs Includes vs lodash includes on the arrays of strings
jQuery.each() vs Array.prototype.forEach() vs _.each()
jQuery.text() vs Element.textContent (jQuery 1.11.3
Comments
Confirm delete:
Do you really want to delete benchmark?