CosmWasm / optimizer

Dockerfile and script to deterministically produce the smallest possible Wasm for your Rust contract
Apache License 2.0
118 stars 57 forks source link

Allow the containers to use more than one core #114

Open nicolaslara opened 1 year ago

nicolaslara commented 1 year ago

I haven't gone deep into the details here, but noticed that when running worspace-optimizer, it maxes out one of the CPUs while the rest are idle.

I tried passing --cpus 3.5 but it didn't make a difference.

webmaster128 commented 1 year ago

It might be related to production builds for the Wasm target. Incremental builds don't work there too. Do you have a similar behaviour when doing a fresh compilation natively?