Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Thu Oct 20, 2011 2:48 pm   

Speed tests - variables, etc.
 
I want to do some speed tests in CMUD. Database variables, stringlists, variables.
Will someone help me with this? Thank you.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Oct 20, 2011 11:35 pm   
 
The %secs variable can be used for this. Something like:
Code:
$starttime = %secs
// insert code here
#SHOW %concat("Execution time: ",(%secs - $starttime)," milliseconds")
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net