开发者

What profiling tools exist for Python on Linux beyond the ones included in the standard library?

I've been using Python's built-in cProfile tool with some pretty good success. 开发者_JAVA技巧 But I'd like to be able to access more information such as how long I'm waiting for I/O (and what kind of I/O I'm waiting on) or how many cache misses I have. Are there any Linux tools to help with this beyond your basic time command?


I'm not sure if python will provide the low level information you are looking for. You might want to look at oprofile and latencytop though.


If you want to know exactly what you are waiting for, and approximately what percentage of the time, this will tell you. It won't tell you other things though, like cache misses or memory leaks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜