This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, neologix, pitrou, vstinner
Date 2015-01-29.22:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422568877.7.0.576866690516.issue23285@psf.upfronthosting.co.za>
In-reply-to
Content
With eintr-2.diff, fast!:

$ time ./python ~/Projects/PyDev/active/dev/3x/source/Lib/test/eintrdata/eintr_tester.py
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok

----------------------------------------------------------------------
Ran 12 tests in 7.652s

OK

real	0m7.959s
user	0m2.573s
sys	0m1.604s

Instrumented test_send, 3 socket.send calls, many socket.recv_into calls:

test_send (__main__.SocketEINTRTest) ... rd SO_RCVBUF default was 8192, wr SO_SNDBUF default was 8192
len(data) = 16777215
 
 sent = 8192, total written = 8192
 sent = 4440064, total written = 4448256
 sent = 12328959, total written = 16777215
 
 received = 8192, total read = 8192
 received = 8192, total read = 16384
 received = 8192, total read = 24576
 [...]
 received = 8192, total read = 16760832
 received = 8192, total read = 16769024
 received = 8191, total read = 16777215
History
Date User Action Args
2015-01-29 22:01:17ned.deilysetrecipients: + ned.deily, pitrou, vstinner, neologix
2015-01-29 22:01:17ned.deilysetmessageid: <1422568877.7.0.576866690516.issue23285@psf.upfronthosting.co.za>
2015-01-29 22:01:17ned.deilylinkissue23285 messages
2015-01-29 22:01:17ned.deilycreate