Mercurial > kallithea
diff scripts/docs-headings.py @ 6728:02c820c5c48e
tests: use pytest-benchmark for performance tests
pytest-benchmark is a benchmarking suite for individual functions. It
presents itself as a pytest fixture, i.e. you accept it as a test function
argument, and then can use it to benchmark a function.
Output is presented in the following form:
----------------------------------------- benchmark: 1 tests ----------------------------------------
Name (time in s) Min Max Mean StdDev Median IQR Outliers(*) Rounds Iterations
-----------------------------------------------------------------------------------------------------
test_graphmod_git 3.1122 3.1682 3.1295 0.0236 3.1196 0.0313 1;0 5 1
-----------------------------------------------------------------------------------------------------
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Sat, 01 Jul 2017 21:34:33 +0200 |
parents | ed2fb6e84a02 |
children | 665dfa112f2c |