ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / common / measureTimeMillis

measureTimeMillis

inline fun <T> measureTimeMillis(loggingFunction: (Long) -> Unit, function: () -> T): T

Higher order helper function to measure and log the execution time of the passed function while returning the result of the function