Since the VM service is most frequently connected to on localhost, consider, in order of priority:
Offer the option to specify WebSocket compression enabled/disabled (or pass a dart:io CompressionOptions object if we think finer-grained control is justified)
Disable WebSocket compression by default
As one datapoint, see dart-lang/coverage#186, where a developer is measuring ~15% of coverage collection runtime spent doing compression.
Since the VM service is most frequently connected to on localhost, consider, in order of priority:
As one datapoint, see dart-lang/coverage#186, where a developer is measuring ~15% of coverage collection runtime spent doing compression.