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
15b2f6db
Commit
15b2f6db
authored
Mar 26, 2016
by
Phil Austin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cython_freeze to readme
parent
ad7d3149
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Demos/Readme_demos.rst
Demos/Readme_demos.rst
+9
-2
No files found.
Demos/Readme_demos.rst
View file @
15b2f6db
...
@@ -12,15 +12,22 @@
...
@@ -12,15 +12,22 @@
python setup.py build_ext --inplace
python setup.py build_ext --inplace
python -c 'import call_mymath;print(call_mymath.call_sinc(1))'
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::
To run one of the benchmarks for 10 iterations to compare cython and python
timings
::
cd benchmarks
cd benchmarks
python setup.py build_ext --inplace
python nqueens.py -n 10
python nqueens.py -n 10
python -c 'import nqueens;print(nqueens.test_n_queens(10))'
python -c 'import nqueens;print(nqueens.test_n_queens(10))'
To demo cython/bin/cython_freeze::
make
./nCr 10 5
./python
* Known failures
* Known failures
* benchmarks/chaos.py failing for both python2 and python3
* benchmarks/chaos.py failing for both python2 and python3
, excluded in setup.py
* embed and freeze work for python2, compile but fail for python3
* embed and freeze work for python2, compile but fail for python3
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