[Python-Dev] PEP for RFE 46738 (first draft)

Fredrik Lundh fredrik at pythonware.com
Wed Jun 22 10:48:47 CEST 2005


Skip Montanaro wrote:

> That's fine, so XML-RPC is slower than Gherkin.  I can't run the Gherkin
> code, but my XML-RPC numbers are a bit different than yours:
>
>     XMLRPC encode 0.65 seconds
>     XMLRPC decode 2.61 seconds
>
> That leads me to believe you're not using any sort of C XML decoder.  (I
> mentioned sgmlop in my previous post.  I'm sure /F has some other
> super-duper accelerator that's even faster.)

the CET/iterparse-based decoder described here

     http://effbot.org/zone/element-iterparse.htm

is 3-4 times faster (but I don't recall if I used sgmlop or just plain
expat in those tests).

</F>





More information about the Python-Dev mailing list