Sign in to follow this  
Followers 0
supergg02

Test/mesure Code Speed/performance

1 post in this topic

I have just a question: I wish to test the speed of the post/get forms via InetGet, _ INetGetSource, Curl, wget. Did you have any idea how can i handle that ?

(I thing that _ INetGetSource don't give possibility for sending header and cookies but if it can use proxy i can use it with proxomitron, so don't worry about cookies and headers problems)

My idea is:

Func GetDuration($code_to_test)

$begin = TimerInit()
eval($code_to_test)
$dif = TimerDiff($begin)
Return $dif

EndFunc

have you a better idea? (precision is very important)

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0