Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Shumway and Javascript

129 views
Skip to first unread message

Till Schneidereit

unread,
Feb 26, 2015, 11:27:31 AM2/26/15
to etienne, dev-s...@lists.mozilla.org
Hi Etienne,

most of the functionality in Flash doesn't have a direct mapping to
functionality in JavaScript or the rest of the web platform. So in fact the
common scenario is the one you describe as "this command is a "basic" flash
command which is everywhere". That still doesn't mean that our execution of
Flash files needs to be slow: the Flash Player itself also has to implement
the functionality used in Flash to something the computer can understand
directly, after all. Shumway does the same thing, except the "computer" in
this case is the browser. And browsers nowadays are really fast, if you
give them the right input.

In fact, there are cases where Shumway is a lot faster than Flash when
running the same content. As an example, on all but one of the benchmarks
here, Shumway is between 1.5x and 10x(!) faster than Flash:
http://arewefastyet.com/#machine=28&view=breakdown&suite=shumway

Flash isn't represented in those graphs, but the numbers Flash gets are:
Crypto 4935, Deltablue 1287, Raytrace 5331, Richards 2168, Splay 1589

So, thank you for your concerns, but I think we're doing very well
regarding performance.


cheers,
till

On Mon, Feb 23, 2015 at 8:54 PM, etienne <gaillard...@neuf.fr> wrote:

> Hello ,
> I ask me a question.
>
> Flash is an "exe" file which read file and make EXE commands..
>
> Shumway is a java script which read the same file and makes JAVA SCRIPT
> commands
> If there is a 'complex' command in the Flash lib which is not in Java ...
> You
> have to make many Java command to do same.
> Of course such a command exist (if no flash is a real shit).
>
> So this command will need many many time to shumway against Flash (because
> you
> will need to use a "for+ java command" to do same) .
>
> If this command is a "basic" flash command which is everywhere, never you
> will
> have 10% speed of Flash (which is already slow).
>
> I think you will have big problems.
> Perhaps am I wrong.
>
> But thank you for what you do.
>
> Bye
> Etienne Gaillard (France)
>
> _______________________________________________
> dev-shumway mailing list
> dev-s...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-shumway
>
0 new messages