python profiling infrastructure