Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
023e384f
Commit
023e384f
authored
Mar 26, 2016
by
Phil Austin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add short Readme
parent
868c7a37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
Demos/Readme_demos.rst
Demos/Readme_demos.rst
+26
-0
Demos/benchmarks/Readme_benchmarks.rst
Demos/benchmarks/Readme_benchmarks.rst
+0
-11
No files found.
Demos/Readme_demos.rst
0 → 100644
View file @
023e384f
* 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
Demos/benchmarks/Readme_benchmarks.rst
deleted
100644 → 0
View file @
868c7a37
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))'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment