quickstart icon indicating copy to clipboard operation
quickstart copied to clipboard

Add Lab to quickstart

Open fnando opened this issue 9 months ago • 3 comments

fnando avatar Apr 01 '25 00:04 fnando

What's the impact on image size and container memory and cpu usage?

leighmcculloch avatar Apr 01 '25 01:04 leighmcculloch

What's the impact on image size and container memory and cpu usage?

@leighmcculloch Unfortunately, is node.js tire fire all around.

$ du -hs /stellar/lab/node_modules/
786M	/stellar/lab/node_modules/

$ du -hs /stellar/lab/build/
314M	/stellar/lab/build/

As for memory and cpu, it should be fine.

$ ps auxwww | grep next
stellar      619  0.1  0.3 22331024 125484 pts/0 Sl   01:52   0:01 next-server (v14.2.26)

fnando avatar Apr 01 '25 02:04 fnando

Oof. I think we should make changes to Lab if needed to make it generatable as a static website. An additional 1GB of image size is multiple times the current size of the image.

leighmcculloch avatar Apr 01 '25 02:04 leighmcculloch

we do have AHA waiting on this for scaffold-stellar. I think we should get this merged in and unblock them. while we get an optimization to reduce the image size

sagpatil avatar Jun 30 '25 17:06 sagpatil