Re: [webkit-dev] EventListener Invocation Cost?

2011-01-10 Thread Darin Adler
On Jan 9, 2011, at 11:56 AM, Alex Milowski wrote: I'm not sure there is a lot that can be done about it. I’m sure we can speed it up if we have a reason to. Step one is to find out exactly where the time is spent. Then we figure out ways to streamline the code path. The experts on this may

Re: [webkit-dev] EventListener Invocation Cost?

2011-01-10 Thread Alex Milowski
On Mon, Jan 10, 2011 at 10:19 AM, Darin Adler da...@apple.com wrote: On Jan 9, 2011, at 11:56 AM, Alex Milowski wrote: I'm not sure there is a lot that can be done about it. I’m sure we can speed it up if we have a reason to. Step one is to find out exactly where the time is spent. Then we

[webkit-dev] EventListener Invocation Cost?

2011-01-09 Thread Alex Milowski
I'm working on an experiment that uses EventListener instances to handle a large number of events. I've noticed there is quite a bit of overhead when invoking a Javascript-based event listener. I'm not sure there is a lot that can be done about it. I've looked through the implementation of how