[Python-Dev] Accepting PEP 3154 for 3.4? (original) (raw)
Tim Peters tim.peters at gmail.com
Tue Nov 19 01:55:10 CET 2013
- Previous message: [Python-Dev] Accepting PEP 3154 for 3.4?
- Next message: [Python-Dev] Accepting PEP 3154 for 3.4?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Richard Oudkerk]
I tried using multiprocessing.Pipe() and sendbytes()/recvbytes() 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.
To the contrary, the lesson is clear: to speed up multiprocessing, the larger the messages the faster it goes ;-)
- Previous message: [Python-Dev] Accepting PEP 3154 for 3.4?
- Next message: [Python-Dev] Accepting PEP 3154 for 3.4?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]