diff --git a/dev_requirements.txt b/dev_requirements.txt --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -3,6 +3,7 @@ waitress >= 0.8.8, < 1.0 pytest ~= 3.0 pytest-runner pytest-sugar>=0.7.0 +pytest-benchmark pytest-catchlog pytest-localserver mock diff --git a/kallithea/tests/performance/test_vcs.py b/kallithea/tests/performance/test_vcs.py --- a/kallithea/tests/performance/test_vcs.py +++ b/kallithea/tests/performance/test_vcs.py @@ -29,7 +29,7 @@ class TestVCSPerformance(TestController) jsdata = graph_data(scm_inst, revs) def test_graphmod_hg(self, benchmark): - self.graphmod(HG_REPO) + benchmark(self.graphmod, HG_REPO) def test_graphmod_git(self, benchmark): - self.graphmod(GIT_REPO) + benchmark(self.graphmod, GIT_REPO)