mIRC Home    About    Download    Register    News    Help

Print Thread
#144761 14/03/06 06:17 AM
Joined: Oct 2003
Posts: 110
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 110
Any ways of seeing which scripts, or which calls are taking most of the time?
I assume there is none but who knows...
I just found out mirc ate about 15% of my cpu since my last reboot(over 29 hours of cpu time), when the cpu is a 3200+.
Having over 150 windows open at the same time might be the cause but i really thought it would handle it better, so i'm suspecting a script might be causing it.

#144762 14/03/06 08:33 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
At the beginning of each sequence that you want to check, set a variable to the value in $ticks
then at the end of the sequence, have an echo command showing $calc($ticks - <variable>)

That will display to you the number of ticks that sequence takes. I believe, but I do not guarantee this, that one tick is the equivalent of one microsecond, so if you get a result of 500, that would be equal to 1/2 a second.

If there are other ways of doing this, then I'm unaware of them.


Link Copied to Clipboard