performance profiling framework