Please also note that my experience with $ticks has shown that it can be off by anywhere up to 5 milliseconds.
Thus if your timing using $ticks shows 45 milliseconds, it could really be as low as 40 or as high as 50.
Interesting. From other sources I hear that it can be off by as many as *150*ms.
Besides, it doesn't *actually* count miliseconds, it just happens to be damn well close enough for most cases.
I'd still wish there was a way to calculate the execution time of a script in miliseconds WITHOUT the inaccuracies of $ticks.