Open
Bug 1463315
Opened 6 years ago
Updated 2 years ago
Should use nsIProfiler.getProfileDataAsArrayBuffer instead of getProfileDataAsync
Categories
(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P2)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox62 affected)
NEW
Tracking | Status | |
---|---|---|
firefox62 | --- | affected |
People
(Reporter: mstange, Unassigned)
Details
https://searchfox.org/mozilla-central/rev/2aa42f2cab4a110edf21dd7281ac23a1ea8901f9/devtools/server/actors/perf.js#95
Getting the profile as an array buffer has better performance because we won't materialize the JS objects for the JSON contents until the profile has arrived inside perf.html.
Comment 1•6 years ago
|
||
Is getProfileDataAsArrayBuffer async as well ?
Reporter | ||
Comment 2•6 years ago
|
||
Yes it is. We should probably take a pass through nsIProfiler at some point and rename the methods to be consistent. When I added getProfileDataAsArrayBuffer, the idea was that "async" shouldn't need to be mentioned because async behavior should be assumed by default.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: -- → P2
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•