nose-benchmark-plugin
Python
Switch branches/tags
Pull request Compare This branch is 8 commits ahead of MblKiTA:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
benchmark.py
example.py
setup.py

README.md

Benchmark decorator can be used for tests to run them in any number of invocations and threads:

 @benchmark(invocations=10, threads=2)

Setup benchmark plugin:

 python setup.py install

then run example:

 nosetests -v -s --with-benchmark example.py

For nosetests.conf use:

[nosetests]
with-benchmark=1