duckdb / duckdb-wasm

WebAssembly version of DuckDB
https://shell.duckdb.org
MIT License
1.19k stars 125 forks source link

Track file sizes + set up CI to fail if npm package size > 150MB #1592

Closed carlopi closed 8 months ago

carlopi commented 8 months ago

As you look at file sizes, please also measure gzip and brotli compressed sizes. We should track that as you make progress.

Originally posted by @domoritz in https://github.com/duckdb/duckdb-wasm/issues/1574#issuecomment-1882845327

There are two sides to this:

carlopi commented 8 months ago

Tested that it actually fails: https://github.com/duckdb/duckdb-wasm/actions/runs/7708398481/job/21008220037?pr=1614.

File size is are not yet persisted at the moment, will move to a separate issue that is less urgent, since there are some unknowns.