Offline profiling