summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-06-06 07:58:18 -0600
committerGitHub <noreply@github.com>2023-06-06 07:58:18 -0600
commitdf76a062fa93899a614194a34f7b7c281f9dbac5 (patch)
tree4de33bf780c637b4bf201dbdf111f6f67d3b94f2 /cli/graph_util.rs
parent42991017e9af59d6a5cb6b523228c62f1c32380e (diff)
perf(ext/websocket): Make send sync for non-stream websockets (#19376)
No need to go through the async machinery for `send(String | Buffer)` -- we can fire and forget, and then route any send errors into the async call we're already making (`op_ws_next_event`). Early benchmark on MacOS: Before: 155.8k msg/sec After: 166.2k msg/sec (+6.6%) Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/graph_util.rs')
0 files changed, 0 insertions, 0 deletions