# HG changeset patch # User Maciej Fijalkowski <fijall@gmail.com> # Date 1329213139 -7200 # Tue Feb 14 11:52:19 2012 +0200 # Branch extradoc # Node ID b18b2d4b52f3f93d4b2c383768164afafb5712d8 # Parent 068ecf60cdf86da4c4e148e7ae4b54a6dbb3f76a 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.