Refactoring profiling