Re: [whatwg] Canvas performance issue: setting colors

<68fba5c50810031611x606a0188rbbabb8ddbee6c07@mail.gmail.com>

Current votes: None.

On Mon, Sep 29, 2008 at 6:24 PM, Sjoerd Visscher <sjoerd@w3future.com> wrote:
>
> A large percentage of the time goes into building color strings for setting
> the strokeStyle, which the browser then has to take apart again. This is a
> very unnecessary performance hit. (Btw, on my Mac this runs faster under
> Google Chrome in VMware than natively in the latest Webkit nightly.)

I see that your test case include setTimeout(doIteration, 0);

Are you sure this doesn't boil down to the difference between Chrome
and WebKit's setTimeout minimum delay?