简单方便的Python代码性能测试模块:pyperform

jopen 10年前
pyperform简单方便的Python代码性能测试模块,使用pyperform修饰符,可以轻松测试函数性能。

Features

Features of pyperform include:

- Quick, easy to implement in-code performance tests that run once when the function is defined  - Speed comparison of several functions.  - Validation of results between ComparisonBenchmarks  - Summary reports.  - Supports class functions as well as global functions.  - Performance tests can easily be disabled/enabled globally.  - Community-driven library of performance tests to learn from.

项目主页:http://www.open-open.com/lib/view/home/1421656710453