Todo List
... well... hey it's a stopwatch, what can I say more about it :-) You can take times during a code run and at the end get a time in ms.
Sample: function stopWatch_Test() { sw = new Bs_StopWatch(); sw.takeTime('test1'); for (var i=0; i<1000000; i++) {} sw.takeTime('test2'); for (var i=0; i<100000; i++) {} sw.takeTime('test3'); sw.draw("Just a test"); }
[line 145]
[line 144]
[line 148]
[line 142]
[line 141]
[line 143]
void draw( mixed title, string $title)
integer getDelta( )
integer getTime( )
void reset( )
void takeTime( string info)
string toHtml( mixed title, string $title)
void _weightIt( )