Dear v8 contributors,

I hope that I found the right place to send my inquiry -- this is the
group that was linked from the main v8 page.

I have discovered a poor performance case for v8 as well as Firefox
and the other browsers. My intuition is that this poor performance is
caused by the use of lots of moderately sparse Arrays. I discovered
this while implementing standard numerical analysis routines. For most
of my routines, I can get 50-300MFLOPS (millions of floating points
instructions per second), which is not too bad (C would yield some
GFLOPS). When I started implementing sparse linear algebra, the use of
sparse Arrays was natural. However, I found that, at least when the
sparse Arrays get a little bit dense, the FLOP rate is only about
1-2MFLOPS.

In order to show this behavior in a self-contained example, I've made
a self-contained benchmark here: http://jsperf.com/sparse-array-performance

What do you think?

Thanks,

Sébastien Loisel

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to