Profiler works as expected