Giampaolo Rodola' added the comment: Attached is a simple benchmark script transmitting a 100MB file. On my Linux box sendfile() is almost twice as fast as send():
send() real 0.0613s user 0.0100s sys 0.0900s total 0.1000s sendfile() real 0.0318s user 0.0000s sys 0.0500s total 0.0500s ---------- Added file: http://bugs.python.org/file34994/bench.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17552> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com