• Brad Fitzpatrick's avatar
    io, net, http: sendfile support · b0f39cc2
    Brad Fitzpatrick authored
    Speeds up static fileserver, avoiding kernel/userspace copies.
    
    Numbers: downloading 14 MB AppEngine Go SDK with ab (Apache Bench)
    with 5 threads:
    
    Before/after numbers:
    
    CPU:
    user    0m3.910s
    sys     0m23.650s
    ->
    user    0m0.720s
    sys     0m4.890s
    
    Time taken for tests:   8.906 seconds
    ->
    Time taken for tests:   8.545 seconds
    
    Percentage of the requests served within a certain time (ms)
    50%     44
    66%     45
    75%     46
    80%     46
    90%     48
    95%     51
    98%     59
    99%     71
    100     74 (longest request)
    ->
    50%     42
    66%     43
    75%     43
    80%     44
    90%     46
    95%     57
    98%     62
    99%     63
    100%    64 (longest request)
    
    R=iant, gary.burd, rsc, bradfitz
    CC=golang-dev
    https://golang.org/cl/4543071
    b0f39cc2
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...