Merging function profiling