-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
See cython tracing and coverage
Need to add .coveragerc:
[run]
plugins = Cython.Coverage
steps are:
- add
# cython: linetrace=Trueto top of cython.pyxfiles (note this also enables profiling, adding slight perf penalty) export CFLAGS="-DCYTHON_TRACE_NOGIL=1"beforepip installing- run
coverage run -m unittest discover - run
cython --annotate-coverage coverage.xml idlbridge/_core.pyxor equivalent if this file moves (e.g. in 20) - run
coverage html - browse coverage in
htmlcov/index.html
Metadata
Metadata
Assignees
Labels
No labels