library to support in taking the running time of code snippets