Skip to content

Commit

Permalink
Include cythonized multicall in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jun 4, 2020
1 parent d6994e1 commit 4ad5d08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions testing/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest
from pluggy import HookspecMarker, HookimplMarker
from pluggy.hooks import HookImpl
from pluggy.callers import _multicall
from pluggy.callers import _multicall, _c_multicall

hookspec = HookspecMarker("example")
hookimpl = HookimplMarker("example")
Expand Down Expand Up @@ -38,7 +38,10 @@ def wrappers(request):
return [wrapper for i in range(request.param)]


@pytest.fixture(params=[_multicall], ids=lambda item: item.__name__)
@pytest.fixture(
params=[_multicall, _c_multicall],
ids=lambda item: item.__name__
)
def callertype(request):
return request.param

Expand Down

0 comments on commit 4ad5d08

Please sign in to comment.