Closed
Bug 1363384
Opened 8 years ago
Closed 7 years ago
nsZipArchive::GetDataOffset is expensive during startup
Categories
(Core :: Networking: JAR, defect, P2)
Core
Networking: JAR
Tracking
()
RESOLVED
DUPLICATE
of bug 1373708
Performance Impact | high |
People
(Reporter: florian, Assigned: xeonchen)
References
Details
(Keywords: perf, Whiteboard: [necko-triaged])
This profile captured on the quantum reference hardware shows 69ms spent there during startup: https://perfht.ml/2qNJcS9
Reporter | ||
Comment 1•8 years ago
|
||
Actually, it's not just during startup. Here is a profile where it's 276ms / 44% of the time spent between when clicking the "X" icon in the top right corner of the window, and when the confirmation prompt appears: https://perfht.ml/2qONdpq
Comment 2•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #1)
> Actually, it's not just during startup. Here is a profile where it's 276ms /
> 44% of the time spent between when clicking the "X" icon in the top right
> corner of the window, and when the confirmation prompt appears:
> https://perfht.ml/2qONdpq
This is a tangent for this bug, but which build is this from? Is this Nightly or some local build?
It looks like you are coming from <https://searchfox.org/mozilla-central/rev/224cc663d54085994a4871ef464b7662e0721e83/js/xpconnect/loader/mozJSComponentLoader.cpp#797>. This implies that you don't have a startup cache, because of this condition: <https://searchfox.org/mozilla-central/rev/224cc663d54085994a4871ef464b7662e0721e83/js/xpconnect/loader/mozJSComponentLoader.cpp#686>. See bug 1351071 comment 24. I wonder if this is happening to you?
Flags: needinfo?(florian)
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to :Ehsan Akhgari (super long backlog, slow to respond) from comment #2)
> (In reply to Florian Quèze [:florian] [:flo] from comment #1)
> > Actually, it's not just during startup. Here is a profile where it's 276ms /
> > 44% of the time spent between when clicking the "X" icon in the top right
> > corner of the window, and when the confirmation prompt appears:
> > https://perfht.ml/2qONdpq
>
> This is a tangent for this bug, but which build is this from? Is this
> Nightly or some local build?
It's a Nightly.
Flags: needinfo?(florian)
![]() |
||
Comment 4•8 years ago
|
||
Jason, do you know about anyone who could take this?
Assignee: nobody → jduell.mcbugs
Whiteboard: [qf] → [qf][necko-active]
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Startup main thread IO = p1
Whiteboard: [qf][necko-active] → [qf:p1][necko-active]
Comment 8•8 years ago
|
||
I'm talking to Jason and Patrick about this on a private email thread. Needinfoing myself to remember to send a reminder...
Flags: needinfo?(ehsan)
Updated•8 years ago
|
Flags: needinfo?(ehsan)
Reporter | ||
Comment 11•8 years ago
|
||
Another startup profile where this takes more than 300ms: https://perfht.ml/2tAdjgA (captured on today's nightly)
Updated•8 years ago
|
Whiteboard: [qf:p1][necko-active] → [qf:p2][necko-active]
Comment 12•8 years ago
|
||
Bulk priority update: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 13•8 years ago
|
||
This smells like it's part of our general JAR channel main I/O issues. So it will hopefully be fixed at the same time. Keeping open until we know if that's the case.
Assignee: jduell.mcbugs → nobody
Priority: P1 → P2
Whiteboard: [qf:p2][necko-active] → [qf:p2]
Comment 14•7 years ago
|
||
Gary, will this bug get fixed as part of bug 1373708?
Flags: needinfo?(xeonchen)
Whiteboard: [qf:p2] → [qf:p2][necko-triaged]
Assignee | ||
Comment 15•7 years ago
|
||
(In reply to Jason Duell [:jduell] (needinfo me) from comment #14)
> Gary, will this bug get fixed as part of bug 1373708?
It's |nsJARChannel::CreateJarInput| within |nsJARChannel::AsyncOpen|, so I think the answer is yes.
Flags: needinfo?(xeonchen)
Updated•7 years ago
|
Whiteboard: [qf:p2][necko-triaged] → [qf:p1][necko-triaged]
Updated•7 years ago
|
Whiteboard: [qf:p1][necko-triaged] → [qf:i60][qf:p1][necko-triaged]
Updated•7 years ago
|
Whiteboard: [qf:i60][qf:p1][necko-triaged] → [qf:f60][qf:p1][necko-triaged]
Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Performance Impact: --- → P1
Whiteboard: [qf:f60][qf:p1][necko-triaged] → [necko-triaged]
You need to log in
before you can comment on or make changes to this bug.
Description
•