[pypy-commit] pypy.org extradoc: a para about ctypes, add to progress bar

fijal noreply at buildbot.pypy.org
Tue Feb 14 10:52:43 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: extradoc
Changeset: r331:b18b2d4b52f3
Date: 2012-02-14 11:52 +0200
http://bitbucket.org/pypy/pypy.org/changeset/b18b2d4b52f3/

Log:	a para about ctypes, add to progress bar

diff --git a/don3.html b/don3.html
--- a/don3.html
+++ b/don3.html
@@ -8,12 +8,12 @@
 <script>
   $(function() {
     $("#progressbar").progressbar({
-      value: 68.9
+      value: 69.1
    });
   });
 </script>
 
-   $41329 of $60000 (68.0%)
+   $41480 of $60000 (69.1%)
    <div id="progressbar">
    </div>
 
diff --git a/performance.html b/performance.html
--- a/performance.html
+++ b/performance.html
@@ -115,6 +115,10 @@
 <tt class="docutils literal">reduce()</tt>, and to some extend <tt class="docutils literal">map()</tt> (although the simple case
 is JITted), and to all usages of the <tt class="docutils literal">operator</tt> module we can think
 of.</li>
+<li><strong>Ctypes</strong>: Ctypes is a mixed bunch. If you're lucky you'll hit the
+sweetspot and be <strong>really</strong> fast. If you're unlucky, you'll miss the
+sweetspot and hit the slowpath which is much slower than CPython (2-10x
+has been reported).</li>
 </ul>
 <p>We generally consider things that are slower on PyPy than CPython to be bugs
 of PyPy.  If you find some issue that is not documented here,
diff --git a/source/performance.txt b/source/performance.txt
--- a/source/performance.txt
+++ b/source/performance.txt
@@ -81,6 +81,11 @@
   is JITted), and to all usages of the ``operator`` module we can think
   of.
 
+* **Ctypes**: Ctypes is a mixed bunch. If you're lucky you'll hit the
+  sweetspot and be **really** fast. If you're unlucky, you'll miss the
+  sweetspot and hit the slowpath which is much slower than CPython (2-10x
+  has been reported).
+
 We generally consider things that are slower on PyPy than CPython to be bugs
 of PyPy.  If you find some issue that is not documented here,
 please report it to our `bug tracker`_ for investigation.


More information about the pypy-commit mailing list