Someone is bound to have a better answer than this, but to get you
started with profiling, have a look at this page where I include some
code to time my script execution:

http://andrew.hedges.name/experiments/simple-templates-speed-test/

It wouldn't be much of a stretch to apply this same pattern to
individual parts of the script to get a more detailed view. That said,
I'm pretty sure there are (commercial?) tools out there that let you
profile scripts in some detail. I'd be interested to know, too, if
there are any that are free software.

-Andrew

On Sep 17, 4:14 pm, Alex Weber <[EMAIL PROTECTED]> wrote:
> looking to find possible bottlenecks and basically optimize the hell
> outta my js which relies heavily on jquery and the occasional
> plugin...
>
> is there a more elegant and efficient way to do this than to toss a
> few document.write()s at my code?? =P
>
> thanks!!
>
> -Alex

Reply via email to