Added profiler to check run times