Send data using sendfile() instead of write(). Seems to be something like 30% lower...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:04:27 +0000 (19:04 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:04:27 +0000 (19:04 +0200)
commitc5cdeee3a4c99abbf7303b47634b0a748e50bcb4
tree69216a390967e755a7138c9d6a36f48625d7e9ea
parent109af5c530539fd614d7d61dc33a4811ff631932
Send data using sendfile() instead of write(). Seems to be something like 30% lower CPU usage.
server.cpp
server.h