Add cache to Profiler