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);
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.