You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/scenarios/speed.rst
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,28 @@ Speed
3
3
4
4
CPython, the most commonly used implementation of Python, is slow for CPU bound tasks. `PyPy`_ is fast.
5
5
6
-
.. todo:: Fill in stub for Speed comparisons
6
+
Using a slightly modified version of `David Beazleys`_ CPU bound test code(added loop for multiple tests), you can see the difference between CPython and PyPy's processing.
7
+
8
+
.. pypy::
9
+
$ ./pypy -V
10
+
Python 2.7.1 (7773f8fc4223, Nov 18 2011, 18:47:10)
0 commit comments