random-agent-spoofer
random-agent-spoofer copied to clipboard
Slow startup
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?
Confirmed here, you would feel it more with a portable FF on a flash disk...
I wonder if adding an option to start spoofing after initial startup would improve startup times.
I'm finding that this extension slows my startup time by 1 or 2 seconds too.
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).