Process Speed Profiling Python