-
You need to have
hpyinstalled in your virtuanenv. The easiest way to do it is:$ cd /path/to/hpy $ python setup.py develop -
Build the extension modules needed for the microbenchmarks
$ cd /path/to/hpy/microbench $ pip install cffi # needed to build _valgrind $ python setup.py build_ext --inplace -
py.test -v -
To run only cpy or hpy tests, use -m (to select markers):
$ py.test -v -m hpy $ py.test -v -m cpy -
Step (2) build
hpy_simpleusing the CPython ABI by default. If you want to benchmark the universal mode, you need to build it explicitly:$ cd /path/to/hpy/microbench $ rm *.so # make sure to delete CPython-ABI versions $ python setup.py --hpy-abi=universal build_ext --inplace $ py.test -v
microbench
Directory actions
More options
Directory actions
More options
microbench
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||