2b0b08b5-5063-438f-950b-688da3ca9920

Results 7 comments of 2b0b08b5-5063-438f-950b-688da3ca9920

I don't think it is necessary to allow to customize the chunk size. Indeed Python should provide a good value by default that works for all platforms.

Will it not be better indeed to just stream.read() without any argument? Because HTTPResponse will call \_safe_read with just the length of the header.

Answering to myself, it is better to read by chunk to feed the parser also by chunk. So here is a version of the patch which increases by 2 on...

Is there an infrastructure already in place for such microbenchmark?

Here is the client/server scripts. I don't measure a big performance improvement with it. I think the improvement measured in [msg257756](https://bugs.python.org/msg257756) are linked to the way xmlrpclib is overriden in...

One advantage, I see, is when xmlrpclib is overridden to use an other marshaller which is can not be feed chunk by chunk. So reducing the number of call to...