mongodb-js / boxednode

📦 boxednode – Ship a JS file with Node.js in a box
Apache License 2.0
599 stars 10 forks source link

feat: enable optionally enabling/disabling blob compression MONGOSH-1759 #58

Closed addaleax closed 2 months ago

addaleax commented 2 months ago

While blobs such as startup snapshots (40MB in the case of mongosh) can be quite large and compressing them saves binary size, decompressing them also costs non-trivial startup time. We make compression optional in this commit so that we can turn it off in mongosh.