Profile execution and print profile stats