Testing so so much better than guessing. If only I could get back the amount of wasted time where I've been on teams that used guessing instead of testing to get to the root of problems!
Interesting compromise from the github issue:
"In other to reduce latency we decided to compress and flush on each data frame. The downside is that it degrades the compression ratio. The second option is to let gzip to compress until the buffer gets full. I think we could make it configurable."