[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-18 Thread Ariel Flesler
While firebug's profile is ok... it inflates times quite a lot, prolly due to all the stuff it inserts around in your code. I compare FF w/FB vs FF w/o FB and the results were a lot different. I'd not recommend it for very specific tests. Also, some approaches can be faster on FF and slower on ot

[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-18 Thread Alex Weber
thanks :) i use firebug but i wasnt aware of the profiling... :) On Sep 17, 8:20 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > I made my own benchmarker some time ago (3-4 months). > It's not perfect but it did the job for me. > > You can check it here:http://benchmarker.flesler.com/ > The

[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-17 Thread Ariel Flesler
I made my own benchmarker some time ago (3-4 months). It's not perfect but it did the job for me. You can check it here: http://benchmarker.flesler.com/ The deploy part isn't included in the js. It's OO, you can create Benchmarker instances. I used it mainly to check different approaches for fre

[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-17 Thread Andrew Hedges
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 patter

[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-17 Thread ricardobeat
Do you use Firebug? It has a "Profile" option under the Console tab, that will profile (duh) all js action going on while it's on, giving you details like number of function calls and the time each took to execute, that's plenty of information ;) ricardo On Sep 17, 1:14 am, Alex Weber <[EMAIL PR