Print the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'.
Print the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'.
the block of code to be executed
http://stackoverflow.com/questions/9160001/how-to-profile-methods-in-scala
Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'.
Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'.
the block of code to be executed
http://stackoverflow.com/questions/9160001/how-to-profile-methods-in-scala
The
Timer
object allow any component that imports it in to easily time blocks of code.