mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
d2da3f4967
Posting a 91762123-byte file to test/cgi/big_file.cgi. The CPU percentages are from "top" set up to update every 10 seconds and checked near the end of the transfer, so they are less accurate than the upload rate, which averages over the whole transfer. buffer=4096: average 1.7 MiB/s, elinks 62% CPU, python 35% CPU. buffer=8192: average 2.5 MiB/s, elinks 49% CPU, python 42% CPU. buffer=16384: average 3.1 MiB/s, elinks 40% CPU, python 55% CPU. buffer=32768: average 3.8 MiB/s, elinks 33% CPU, python 61% CPU. buffer=65536: average 4.1 MiB/s, elinks 26% CPU, python 70% CPU. buffer=131072: average 4.2 MiB/s, elinks 28% CPU, python 67% CPU. buffer=262144: average 4.4 MiB/s, elinks 26% CPU, python 69% CPU. I'm choosing 32768 as POST_BUFFER_SIZE because the advantages of larger buffers don't seem very high and keeping this under 65536 may help anyone trying to port ELinks to DOS. I'm using the same value for HTTP too, just to keep things consistent until there is a reason to diverge. |
||
---|---|---|
.. | ||
blacklist.c | ||
blacklist.h | ||
codes.c | ||
codes.h | ||
http_negotiate.c | ||
http_negotiate.h | ||
http.c | ||
http.h | ||
Makefile | ||
post.c | ||
post.h |