Profiler comparison code