Disable the profiler entity completely when not building in Debug mode.