[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: speaking of firefox beastlyness...



On Tue, 2008-10-14 at 15:31 -0600, Frank Cox wrote:
> On Tue, 14 Oct 2008 17:24:49 -0400
> Tom Horsley <tom horsley att net> wrote:
> 
> > I seem to be encountering more and more web pages where
> > firefox will go totally sluggish and I'll see my gkrellm
> > monitor showing a CPU pegged at 100%.
> > 
> > Is there any kind of a firefox performance plugin that measures
> > time spent inside other firefox plugins and provides a
> > web page with a summary of the piggy plugins?
> 
> You could just try the standard troubleshooting method of either removing all
> of the plugins and then reinstalling them one at a time until the problem comes
> back, or removing the plugins one at a time and seeing when the problem goes
> away.
> 
> It shouldn't take too long if you have a reasonable number of plugins and if
> this happens as often as you say it does.

It doesn't have to be linear. You could use the good old "binary chop"
method, i.e. order your plugins from 1 to N. Remove plugins 1 to N/2 and
test. If the problem goes away, restore N/4 to N/2 and repeat. You get
the idea (see any basic computer science textbook on binary searching).
This will take worst case Log_2(N) tests.

poc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]