timing in global scope is bad. You should put this code in a function. Also, you are timing the compilation time.