Closed Bug 1672520 Opened 5 years ago Closed 5 years ago

First step in refactoring nsHttpConnectionMgr

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: dragana, Assigned: dragana)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(8 files, 1 obsolete file)

No description provided.
Attached file Part 2 - Make mIdleConns privat (obsolete) —
Attachment #9183160 - Attachment is obsolete: true

This is just the first step. nsHttpConnectionMgr can be improved further.

Attachment #9183161 - Attachment description: Part 2 - Make mIdleConns privat → Part 2 - Make mIdleConns private
Pushed by ddamjanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2a2ecf84209 Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw https://hg.mozilla.org/integration/autoland/rev/473498b3df4c Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw https://hg.mozilla.org/integration/autoland/rev/c1b12059f317 Part 2 - Make mIdleConns private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/6a0a89a02779 Part 3 - Make mActiveConns private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/09de9356d225 Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/84ad3077d7ef Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/dd9c9c3c959c Part 6 - Make HalfOpens private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/fd7e69c065d9 Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin
Pushed by ddamjanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e81676ee1501 Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw https://hg.mozilla.org/integration/autoland/rev/8a236eb4833f Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw https://hg.mozilla.org/integration/autoland/rev/c83020f6bf92 Part 2 - Make mIdleConns private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/378ed0b660f7 Part 3 - Make mActiveConns private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/279fd8b1210d Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/bbb1da52a501 Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/12021a9f2d20 Part 6 - Make HalfOpens private r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/cac5627ac1ad Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin

This has been fixed.

Flags: needinfo?(dd.mozilla)

I tried a local backout of bug 1672520 but it failed for some reason, so I need to ask you if the regression below makes sense to be caused by your patches?
== Change summary for alert #27601 (as of Wed, 11 Nov 2020 13:38:20 GMT) ==

Regressions:

Ratio Suite Test Platform Options Absolute values (old vs new)
8% imdb SpeedIndex linux64-shippable-qr cold webrender 960.94 -> 1,038.58
8% imdb SpeedIndex linux64-shippable cold 956.16 -> 1,031.67

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=27601

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: