Profiler - measure time not (or) quantity!
Posted: Sat Jan 19, 2008 10:52 pm
Hi!
The profiler tool is a really great step!! It only has one weakness: it measures quantity, but lacks quality. That means:
If my program runs slow I'm probably not able to reduce the amount of code processed BUT I could enhance the speed of several lines (string slow, int=fast) Profiler won't help me much.
Now that: if profiler would measure how many milliseconds tick away during a line (after lets say 1000 calls of the line the rounding error will disappear), you could perfectly improve your code and see the difference between:
THAT WOULD ROCK!!
P.S. that combines with the development of the new sharp Millisecs() command
The profiler tool is a really great step!! It only has one weakness: it measures quantity, but lacks quality. That means:
If my program runs slow I'm probably not able to reduce the amount of code processed BUT I could enhance the speed of several lines (string slow, int=fast) Profiler won't help me much.
Now that: if profiler would measure how many milliseconds tick away during a line (after lets say 1000 calls of the line the rounding error will disappear), you could perfectly improve your code and see the difference between:
Code: Select all
s$=left(s$,4)+"x"+right$(s$,len(s$-5)) ==> PurX Basic 10ms (probably)
PokeB(@s$+5,88 ) ==> PurX Basic 1ms
P.S. that combines with the development of the new sharp Millisecs() command
