Closed Bug 1559481 Opened 7 years ago Closed 7 years ago

Use a shared localization helper instance for the inspector

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gl, Assigned: gl)

Details

There are many instances in the markup, rules and computed view where we require the LocalizationHelper and initialize a helper for the inspector.properties or styleinspector.properties. This could be expensive for performance.

We could do better by creating a shared/l10n.js file that initializes a single instance of the l10n helper MultiLocalizationHelper for these 2 properties file and require them where we would initialize these LocalizationHelper.

Bugbug thinks this bug is a enhancement, but please change it back in case of error.

Type: defect → enhancement

Abandoning this bug since I couldn't consistently reproduce positive perf gains.

Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.