random-agent-spoofer icon indicating copy to clipboard operation
random-agent-spoofer copied to clipboard

Slow startup

Open abletor opened this issue 8 years ago • 4 comments

After installing RAS Firefox start up time went up by ~1-2 seconds, and that on my high-end laptop. I profiled RAS init code and found that require(sdk/panel) takes ~200 ms and require(sdk/ui) takes ~600 ms.

During RAS initialization Firefox simply hangs up. I tried to defer init code by 1, 10 seconds but this only caused Firefox to hang up 1, 10 seconds later. It doesn't happen in background or in parallel which is very annoying if you have to restart Firefox.

I have a bunch of other addons installed - they don't slow down start up at all. I checked their code and they all seem to be using overlays for adding their buttons. I know overlays are long time obsolete but what's the point in the newer SDK if it is so slow?

Can it be fixed somehow?

abletor avatar Aug 09 '16 08:08 abletor

Confirmed here, you would feel it more with a portable FF on a flash disk...

bonbonboi avatar Aug 15 '16 18:08 bonbonboi

I wonder if adding an option to start spoofing after initial startup would improve startup times.

duck57 avatar Aug 31 '16 04:08 duck57

I'm finding that this extension slows my startup time by 1 or 2 seconds too.

whispy avatar Oct 08 '16 23:10 whispy

Startup is at least 10 seconds slower with this extension, with a SSD :/ I hope you'll find something (I don't know anything about that stuff).

Nephos avatar Jun 06 '17 10:06 Nephos