Initial version of profiler/cache