talostrading / sonic

Sonic is a Go library for network and I/O programming that provides developers with a consistent asynchronous model, with a focus on achieving the lowest possible latency and jitter in Go.
MIT License
676 stars 16 forks source link

Websocket performance test #92

Closed sergiu128 closed 1 year ago

sergiu128 commented 1 year ago

This PR prepares a baseline performance test through which we can track the improvements brought by:

Our starting point after running codec/websocket/client_integration_test.go for 5 seconds while memory profiling it is:

image