Originally Posted by Vladinator
Thanks for the replies on the efficiency matter.
Just out of curiosity, how would one go about to benchmark using the WoW client? I mean, GetTime() is the only API returning milliseconds so basically call that right before and after and subtract the time difference -right?
|
Create an incredibly large table so that the function takes a long time to run. Makes it easier to measure. Print a GetTime before, and a GetTime after.
Run each test multiple times to get a good sample size.