proginosko / LeechBlockNG

LeechBlock NG (Next Generation) for Firefox is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
718 stars 66 forks source link

Leechblock Taking Up Firefox CPU Leading To Very Slow Loading #499

Open ScarfDyedShadow opened 3 weeks ago

ScarfDyedShadow commented 3 weeks ago

Hello, I am a longtime user of Leechblock that has benefited tremendously from it, but as of recently my Firefox has been slowing down immensely, and I've pinned the issue down to Leechblock. As advised I have set it to process only active tabs, but that hasn't fixed the issue. I suspect the issue is that I have far too many exceptions designated in one of my block sets, probably more than Leechblock was intended to handle, and while I can rectify that I'd only like to do that if there's no other solution. I've attached my settings as a txt file. LeechBlockOptions(1).txt

Screenshot 2024-10-23 at 6 15 32 PM
proginosko commented 3 weeks ago

Yeah, this is almost certainly due to having multiple blocks with long lists of sites and/or exceptions. LB creates a regular expression to test the URL of the page loaded in the browser, and more complex regular expressions require more processing. One thing you could try is increasing the value of the option "Process tabs every __ second(s)" under General options.