duckdb-wasm
duckdb-wasm copied to clipboard
Size of duckdb-wasm build file
Hi,
I built duckdb-wasm with latest commit from branch master (83ba5b459c681f3e94b282586b21e12994383aa0) with following commands:
make bootstrap make compile_commands make duckdb_shell make data make lib_tests DUCKDB_EXCEL=1 make wasm (or DUCKDB_EXCEL=1 DUCKDB_JSON=1 make wasm) make js_release
But I got size of duckdb-wasm up to 52.2MB. It is so large.
What am I doing wrong? or Is there any way to compress it?
Thanks
That is probably because when you run make wasm
you create the development build. I think the difference between make js_release
and make js_debug
is on how the javascript is bundled, not the wasm code.
You should try the same with make wasm_relperf
or make wasm_relsize
instead of make wasm
.