This repository has been archived by the owner on May 4, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unix: disable relaxed accept() by default
Don't use the relaxed accept() algorithm introduced in be2a217 unless explicitly requested. It causes a 50+% performance drop on some node.js benchmarks: $ alias bench='out/Release/node benchmark/http_simple_auto.js \ -c 10 -n 50000 bytes/1 2>&1 | grep Req' $ UV_TCP_SINGLE_ACCEPT=0 bench Requests per second: 12331.84 [#/sec] (mean) $ UV_TCP_SINGLE_ACCEPT=1 bench Requests per second: 3944.63 [#/sec] (mean)
- Loading branch information