Add a cpu_profile decorator