jquery error() calls showing up in firebug profile

Posted by Aros on Stack Overflow See other posts from Stack Overflow or by Aros
Published on 2010-03-17T17:28:39Z Indexed on 2010/03/17 17:31 UTC
Read the original article Hit count: 620

Filed under:
|
|

I am working on an ASP.NET application that make a lot of jquery and javascript calls and trying to optimize the client side code as much as possible. (This web application is only designed to run on special hardware that has very low memory and processing power.)

The profiler in firebug is great for figuring out what calls are taking up the most time. I have already optimized a lot of my selectors and it is much faster.

However the profile shows a lot of jquery error() calls. In the attached image of the firebug profile window you can see it was called 52 times, accounting for 15.4 of the processing time.

Is that normal for jquery to call its error() like that? My code works flawlessy, and there are no error messages in the firefox error console. It seems like that is a significant performance hit. Is there anyway to get more info on what the errors are?

Thanks.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about firebug