[pypy-dev] Unicode encode/decode speed

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon Feb 11 18:39:58 CET 2013


2013/2/11 Eleytherios Stamatogiannakis <estama at gmail.com>

> >
> > Which kind of profiler are you using? It possible that CPython builtin
> > functions are not profiled the same way as PyPy's.
>
> lsprofcalltree.py .
>
> From APSW's source code, i think that it uses this API:
>
> (in cursor.c)
> PyUnicode_DecodeUTF8
>
> Maybe lsprofcalltree doesn't profile it?


Indeed. CPU cost is hidden in the cursor method.

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130211/22379410/attachment.html>


More information about the pypy-dev mailing list