[Laszlo-dev] For Review: Change 40569 Summary:Improved profiling for sendEvent, remove some flasm, optimize a few basic calls
jgrandy at laszlosystems.com
Tue Mar 14 16:21:12 EST 2006
On Mar 14, 2006, at 12:37 PM, P T Withington wrote:
>> I think knowing the event dispatch frequency by name is more
>> important than knowing event/sender pair frequencies. The latter
>> still has some usefulness, though. Could I add a nested layer, so
>> event/sender wraps event?
>> call #button32.onclick
>> call onclick
>> return onclick
>> return #button32.onclick
>> Or would this be too verbose?
> You're call. I don't know what you are looking for here. But you
> want the more specific 'call' inside the less specific, right?
No, you want less inside more. Otherwise you add too many edges to
the call graph -- the sender will often be the caller of sendEvent,
so there's some correlation there.
What I really want is to be able to get a read on, e.g., how many
times "onWidth" is called during a given operation. I don't really
care too much about sender for this. So I think I'll leave sender
info out for now; it's easy enough to add in later.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev