Seems to me that there were some posts a while back about code profiling maybe in firebug that would tell you how many calls you made to what functions and maybe how much time you spent in each function, maybe not this. But this would be the first step to optimizing your code. If you don't know where it is spending all its time then you don't know what to fix. You could also wrap function calls with a timer and log the times to the console.
-Steve bmsterling wrote: > Hey all, > I am working on a project at http://ov.informationexperts.com/test.htm > http://ov.informationexperts.com/test.htm and the only issue I am having is > the speed of my code. > > steps to test: > 1. create three or more points by click in the grey box area. > 2. when finish, dbl click the first point your created to close the box. > (at this point there is a second or two delay) > 3. At this point you can resize/reshape the box by dbl click and then hold > down any of the points. (when you mouse up there will be about a 3 second > delay) > > Scripts being used: > jquery w/ debug, dom, dimensions, idrag plugins > jsgraphic (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm) > > After you do the above test, with firebox and web developer extension, view > generated source and you will see all that went on. The jsgraphic script > produces a ton of divs to achieve the graphics. It is a great script and > would love to convert to jquery and that may speed things up, but would not > know where to start. > > Basically what I need help with is speeding up this app. > > Thanks, > Benjamin Sterling > KenzoMedia.com > KenzoHosting.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/