Profile execution time of core functions