Opened 9 years ago

Closed 8 years ago

#5279 closed enhancement (fixed)

Remove toggle-mode specific request observers

Reported by: mikeperry Owned by: mikeperry
Priority: High Milestone: TorBrowserBundle 2.3.x-stable
Component: TorBrowserButton Version:
Severity: Keywords: MikePerry201301d
Cc: Actual Points: 12
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by mikeperry)

There might be a fair amount of performance overhead wrapped up in the multiple request observers in Torbutton. Many of these exist only because of hacks needed to safely support toggling and plugin-blocking. We can probably improve performance quite a bit by removing them.

This also makes work like #5709/#1506 simpler, as android is rather sensitive to observers, and the multiprocess "Electrolysis" model makes some of them unreliable anyways.

See also #5965.

Child Tickets

Change History (7)

comment:1 Changed 9 years ago by mikeperry

Most likely the fix for #4430 will put our session store filters in this category.. They are only periodic, but they are quite expensive if you have a lot of tabs open.

comment:2 Changed 8 years ago by mikeperry

Keywords: MikePerry201211d added

comment:3 Changed 8 years ago by mikeperry

This might also fix #6469.

comment:4 Changed 8 years ago by mikeperry

This should also fix #6661 and potentially a few other related website failures.

comment:5 Changed 8 years ago by mikeperry

Description: modified (diff)

See also #5965, #1506 and #5709. This ticket is on the way to those tree.

comment:6 Changed 8 years ago by mikeperry

Keywords: MikePerry201301d added; MikePerry201211d removed

comment:7 Changed 8 years ago by mikeperry

Actual Points: 12
Resolution: fixed
Status: newclosed

This is done in origin/master. It will go into Torbutton 1.5.0.

There are still more observers we could remove/simplify (see #7974 for example), but I removed all of the toggle-related ones.

Note: See TracTickets for help on using tickets.