Because Firebug has to open its timer and log every function call, it
will appear that 30% of your execution time is emptyFunction. However,
it is actually Firebug trying to log something and taking longer than
the function itself.

You will find that disabling Firebug will make your app run much
faster, just because it isn't being intercepted at every function


On Dec 22 2008, 6:11 pm, pilot <> wrote:
> Hi All,
> I am trying to optimise a web app performance on the frontend. When
> profiling with Firebug I have calls to Prototype's emptyFunction()
> taking up to 30% of execution time. However, in our application we do
> not use this function explicitly.
> Could anyone explain what is happening and suggest a strategy to
> combat this problem?
> Many Thanks
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to