Log time each function takes to monitor performance
Log time each function takes to monitor performance