The following code can be placed in a junit test to log execution times:
long start = logger.debugStart("Starting process"); //... code for process logger.debugTime("End process", start);