198e65c801
The goal is to improve performance of connection fetching connections across all processes when some processes can have several hundred or thousands of file descriptors. Right now when you have many thousands of fds the process spends lots of time inside the syscalls from Readdir and Readlink. The public API works as before with two new functions: - `ConnectionsMax` - `ConnectionsPidMax` Each function takes an additional int argument that sets the max number of fds read per process. |
||
---|---|---|
.. | ||
net.go | ||
net_darwin.go | ||
net_darwin_test.go | ||
net_fallback.go | ||
net_freebsd.go | ||
net_linux.go | ||
net_linux_test.go | ||
net_openbsd.go | ||
net_test.go | ||
net_unix.go | ||
net_windows.go |