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 © 2019, Oracle and/or its affiliates. All rights reserved. Documentation build: 7.30.2019 15:44:44 [SDK_1564515884000]