¡@

Home 

java Programming Glossary: elapsedperiteration

What is microbenchmarking?

http://stackoverflow.com/questions/2842695/what-is-microbenchmarking

int i 0 i 1000000000 i time elapsed GetTime start time elapsedPerIteration elapsed 1000000000 printf Time elapsed for each iteration d.. 1000000000 printf Time elapsed for each iteration d n elapsedPerIteration Obviously compilers can see that the loop does absolutely nothing.. any code for the loop at all. So the value of elapsed and elapsedPerIteration is pretty much useless. Even if the loop does something void..