Open SpComb opened 7 years ago
Benchmarking indicates that the websocket_mask
extension has a fairly significant performance impact: #13
Merging this PR to drop the native extension would cut performance by roughly half, without some method to optionally install that extension.
See #11
Swap the
websocket-driver
dependency forwebsocket-driver-kontena
, which excludes the nativewebsocket_mask
extension. TheWebSocket::Driver
will fall back to the pure-rubywebsocket/mask
implementation. The performance will presumably be worse.TODO is to figure out how to support optionally installing the
websocket_mask
extension for those depending applications that are okay with installing native extensions.