A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-November/130345.html below:

[Python-Dev] Accepting PEP 3154 for 3.4?

[Python-Dev] Accepting PEP 3154 for 3.4? [Python-Dev] Accepting PEP 3154 for 3.4?Richard Oudkerk shibturn at gmail.com
Tue Nov 19 00:31:04 CET 2013
On 18/11/2013 10:25pm, Tim Peters wrote:
> The difference between 8 and 15 is, e.g., nearly doubling the amount
> of network traffic (for apps that use pickles across processes or
> machines).

I tried using multiprocessing.Pipe() and send_bytes()/recv_bytes() to 
send messages between processes:

   8 bytes messages  -- 525,000 msgs/sec
   15 bytes messages -- 556,000 msgs/sec

So the size of small messages does not seem to make much difference.

(This was in a Linux VM with Python 2.7.  Python 3.3 is much slower 
because it is not implemented in C, but gives similarly close results.)

-- 
Richard

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4