类似php的xhprof的性能分析工具,见下两链接: http://python.jobbole.com/74266/ http://xianglong.me/article/analysis-python-application-performance-using-cProfile/