Closed Bug 1997209 Opened 4 months ago Closed 3 months ago

Add toolbar button in the JSON Viewer to open a size profile of the JSON file in the Firefox Profiler

Categories

(DevTools :: JSON Viewer, enhancement, P3)

enhancement

Tracking

(relnote-firefox 147+, firefox147 fixed)

RESOLVED FIXED
147 Branch
Tracking Status
relnote-firefox --- 147+
firefox147 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

It would be nice if from the JSON Viewer we could get a size profile (similar to what gets generated by the rust code in https://github.com/mstange/json-size-profiler) with a single click.

Attached image Screenshot

Here's the generated size profile for a 27MB JSON file: https://share.firefox.dev/4oIKirS

And here's a profile of how long it took to generate the size profile https://share.firefox.dev/47gxseH compared to how long it took to initially load the JSON Viewer.

Whiteboard: [devtools-triage]
Attachment #9523374 - Attachment description: WIP: Bug 1997209 - Add a toolbar button in the JSON Viewer to open a size profile of the JSON file in the Firefox Profiler, → Bug 1997209 - Add a toolbar button in the JSON Viewer to open a size profile of the JSON file in the Firefox Profiler, r=#devtools-reviewers.
Priority: -- → P3
Whiteboard: [devtools-triage]
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/faf9462bdd92 https://hg.mozilla.org/integration/autoland/rev/9429cd345629 Add a toolbar button in the JSON Viewer to open a size profile of the JSON file in the Firefox Profiler, r=devtools-reviewers,nchevobbe,mstange.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: