Closed
Bug 1357801
Opened 8 years ago
Closed 7 years ago
aRequest.URI and aRequest.originalURI take 12ms of running time during Kraken
Categories
(Firefox :: Tabbed Browser, enhancement)
Tracking
()
RESOLVED
FIXED
Firefox 56
People
(Reporter: jaws, Assigned: jaws)
References
Details
Attachments
(2 files)
See https://perf-html.io/public/2b9073fb8116f1d7508b71166f388fdb545f73b2/calltree/?jsOnly&range=54.1559_79.8503~58.8305_79.8503&search=get%20&thread=0 and filter on 'get '.
We already call these two getters earlier and can pass their instances to the calling functions instead of having the calling functions request them again.
Assignee | ||
Updated•8 years ago
|
Assignee: jaws → nobody
Assignee | ||
Updated•8 years ago
|
Whiteboard: [photon-performance]
Assignee | ||
Comment 1•8 years ago
|
||
Visit https://krakenbenchmark.mozilla.org/ to run the test.
Updated•8 years ago
|
Flags: qe-verify?
Priority: -- → P2
Comment 2•8 years ago
|
||
Are these data: URIs or something? And, if we get these on channels, isn't this a networking bug?
Flags: needinfo?(jaws)
Assignee | ||
Comment 3•8 years ago
|
||
I ran Kraken with logging inside of onStateChange and _shouldShowProgress and these are the URIs that are being loaded. In the logging, the first URI is the request.URI field, and the second one is request.originalURI.
Most of them are on the wyciwyg schema with a network URL [1], and the others are for about:blank.
[1] wyciwyg://152/https://krakenbenchmark.mozilla.org/kraken-1.1/driver.html for example, when running test 152.
Flags: needinfo?(jaws)
Updated•8 years ago
|
Flags: qe-verify?
Priority: P2 → --
Whiteboard: [photon-performance]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8880113 [details]
Bug 1357801 - Run Kraken in a chromeless browser window so as to remove any noise from UI changes.
https://reviewboard.mozilla.org/r/151498/#review156426
Attachment #8880113 -
Flags: review?(mconley) → review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84ec2922201d
Run Kraken in a chromeless browser window so as to remove any noise from UI changes. r=mconley
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment 8•7 years ago
|
||
Did we consider doing what comment #0 suggests in addition to decoupling kraken from the browser UI? Seems like that might still be worthwhile...
Flags: needinfo?(jaws)
Assignee | ||
Comment 9•7 years ago
|
||
Yes, I considered it. The 12ms of time shown is more evident in the case of Kraken which hit this code about 200 times (if my memory serves me correctly). Doing what comment #0 suggested didn't make a change that was an order of magnitude better. It maybe cut it down from 12ms to 7-8ms, which to me wasn't worth the change in complexity. The real bug here was that we were getting regression notices for use cases that are not representative of normal browser usage.
Flags: needinfo?(jaws)
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•