MCPcopy Create free account
hub / github.com/Effect-TS/effect / Socket.ts

File Socket.ts

packages/platform/node-shared/benchmark/Socket.ts  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Socket read/write cost against raw `node:net`, `ws` and in-memory baselines.
3 *
4 * Two workloads run against plain Node servers, so only the client transport

Callers

nothing calls this directly

Calls 15

startNetServerFunction · 0.85
startWebSocketServerFunction · 0.85
rawNetClientFunction · 0.85
rawWebSocketClientFunction · 0.85
rawDuplexClientFunction · 0.85
duplexStreamFunction · 0.85
duplexEchoFunction · 0.85
duplexSocketClientFunction · 0.85
netSocketClientFunction · 0.85
webSocketSocketClientFunction · 0.85
rawStreamFunction · 0.85
socketStreamFunction · 0.85

Tested by

no test coverage detected