flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Thayne <s...@skyseek.com>
Subject Re: why are my Worker in Firefox so slow?
Date Tue, 04 Feb 2014 17:25:11 GMT
Ya, in my tests, it's much better to run 1 or 2 workers max.

~Sean

<http://www.skyseek.com>
class *Sean_Thayne*
    extends Developer {
        public $skype = "sthayne23";
        public $gTalk = "sean@skyseek.com";
        public $url   = "www.skyseek.com";
}


On Tue, Feb 4, 2014 at 10:23 AM, Alex Harui <aharui@adobe.com> wrote:

> Are the numbers the same for both FF and Chrome?  Chrome may just have
> better optimization for workers.  Chrome may have discovered that sharing
> between multiple processes is better than multi-threading for Workers.
>
> I'm not an expert on Workers and multi-threading, but I always thought
> that there is little advantage, and potential a disadvantage, of running
> more threads of equal priority than there is CPU/Core availability.
>
> FF is known for having overhead from other FF plugins.  The difference in
> performance you are seeing could be from that as well.
>
> HTH,
> -Alex
>
> On 2/4/14 8:02 AM, "Marcus Fritze" <marcus.fritze@googlemail.com> wrote:
>
> >Thanks for the quick response.
> >
> >Activity Monitor shows mostly 175 - 185 % and sometimes a max of 196 %.
> >
> >But my overall CPU usage is about 22%.
> >
> >Am 04.02.2014 um 16:51 schrieb Alex Harui <aharui@adobe.com>:
> >
> >> What does the os tools show for cpu usage?  Maybe FF doesn't spread work
> >> to more than one or two cores.
> >>
> >> -Alex
> >>
> >> On 2/4/14 7:38 AM, "Marcus Fritze" <marcus.fritze@googlemail.com>
> wrote:
> >>
> >>> Hi,
> >>>
> >>> Ok, I have a main application and a worker.
> >>>
> >>> The worker is for very CPU intensive work. But I have a lot of "work"
> >>>to
> >>> do at the same time.
> >>> So I run multiple worker (actually the same Worker-class) at the same
> >>> time.
> >>>
> >>> In Chrome everything is working fine and the work is done in some
> >>>seconds.
> >>> Chrome starts a "Google Chrome Helper" process for every worker.
> >>>
> >>> But In Firefox, it seems there is only one "Firefox Plugin Process" and
> >>> when I have 3 or 4 worker
> >>> at the same time, the main app slows down.
> >>>
> >>> Any suggestions?
> >>>
> >>> Info: my system Mac OS X 10.9 and the latest Firefox and Flash Player
> >>>12
> >>>
> >>> Thanks
> >>>
> >>> Marcus Fritze
> >>
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message