Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
startNetServer
Function · 0.85
startWebSocketServer
Function · 0.85
rawNetClient
Function · 0.85
rawWebSocketClient
Function · 0.85
rawDuplexClient
Function · 0.85
duplexStream
Function · 0.85
duplexEcho
Function · 0.85
duplexSocketClient
Function · 0.85
netSocketClient
Function · 0.85
webSocketSocketClient
Function · 0.85
rawStream
Function · 0.85
socketStream
Function · 0.85
Tested by
no test coverage detected