Closed Bug 1015181 Opened 10 years ago Closed 9 years ago

localeFormat() takes quite a lot of CPU

Categories

(Firefox OS Graveyard :: Gaia::L10n, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1170963

People

(Reporter: gerard-majax, Unassigned)

Details

While profiling a nasty perf regression exposed in SMS app, I noticed how CPU hungry the localeFormat() call seemed to be. Profiling is available at: http://people.mozilla.org/~bgirard/cleopatra/#report=0ef71fe7cf61e7549b937ce2c35d7d3428a58179 (gecko) and http://people.mozilla.org/~bgirard/cleopatra/#report=0cfae43afdabd69dfe93e0485db13f42e23250b3 (gaia)
Priority: -- → P3
Summary: locateFormat() takes quite a lot of CPU → localeFormat() takes quite a lot of CPU
We're going to remove l10n_date's localeFormat now that we have Intl.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.