Skip to main content

John Yeary: Computing Time in a Method Call

John Yeary calculates Computing Time in a Method Call:

The general methodology that most developers use is to wrap the method call of interest with start and end time variables, and calculate the difference. They may repeat the process a couple of times, and average it. If they are fancy, they may randomly execute the method to provide some variance. This pseudo randomness gives the feel of...

Community: General