Closed Bug 2010819 Opened 7 months ago Closed 7 months ago

[perf] Add fast path for callers that check PendingQueueLength() == 0

Categories

(Core :: Networking, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mozilla::net::nsHttpConnectionMgr::ProcessPendingQForEntry checks if ent->PendingQueueLength().
When there are a lot of events in the queue, these callers don't need the actual length, just to know when it's empty.

Pushed by valentin.gosu@gmail.com: https://github.com/mozilla-firefox/firefox/commit/178b3902f7af https://hg.mozilla.org/integration/autoland/rev/1d460044a547 [perf] Add fast path for callers that check PendingQueueLength() == 0 r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: