diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-08 05:32:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-08 05:32:40 +0000 |
commit | 9efa646c7fb520747804acdc829b3cccea0dce63 (patch) | |
tree | 8b98fc5da073f75d6ceea7bee433bb1f056843f5 /src/conn-tools/deps-exe | |
parent | 9f03a9a73f35b998ea5d923dcdcea087e5712858 (diff) | |
download | s6-networking-9efa646c7fb520747804acdc829b3cccea0dce63.tar.xz |
New versions of s6-tcpserver4d and s6-tcpserver6d
- both now use posix_spawn when available
- s6-tcpserver4d uses avltree for logarithmic lookups
- s6-tcpserver6d still has the linear lookup
- the point was to benchmark linear vs logarithmic, but the
fork() overhead overshadowed everything
- now with fork() out of the way, I'm going back to benchmarks
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/conn-tools/deps-exe')
-rw-r--r-- | src/conn-tools/deps-exe/s6-tcpserver4d | 1 | ||||
-rw-r--r-- | src/conn-tools/deps-exe/s6-tcpserver6d | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/conn-tools/deps-exe/s6-tcpserver4d b/src/conn-tools/deps-exe/s6-tcpserver4d index 19869b2..062999f 100644 --- a/src/conn-tools/deps-exe/s6-tcpserver4d +++ b/src/conn-tools/deps-exe/s6-tcpserver4d @@ -1,2 +1,3 @@ +-ls6 -lskarnet ${SOCKET_LIB} diff --git a/src/conn-tools/deps-exe/s6-tcpserver6d b/src/conn-tools/deps-exe/s6-tcpserver6d index 19869b2..062999f 100644 --- a/src/conn-tools/deps-exe/s6-tcpserver6d +++ b/src/conn-tools/deps-exe/s6-tcpserver6d @@ -1,2 +1,3 @@ +-ls6 -lskarnet ${SOCKET_LIB} |