Commit 023e384f authored by Phil Austin's avatar Phil Austin

add short Readme

parent 868c7a37
* To run demos do::
cd Demos
make test
which runs run_primes.py, run_numeric_demo.py, run_spam.py,
integrate_timing.py, callback/runcheese.py and embed/embedded
* For other demos::
cd libraries
python setup.py build_ext --inplace
python -c 'import call_mymath;print(call_mymath.call_sinc(1))'
To run one of the benchmarks for 10 iterations to compare cython and python::
cd benchmarks
python nqueens.py -n 10
python -c 'import nqueens;print(nqueens.test_n_queens(10))'
* Known failures
* benchmarks/chaos.py failing for both python2 and python3
* embed and freeze work for python2, compile but fail for python3
To run a benchmark:
10 iterations, python::
python nqueens.py -n 10
10 iterations, cython::
python -c 'import nqueens;print(nqueens.test_n_queens(10))'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment