Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack size limitations #196

Open
adcorduneanu opened this issue Feb 13, 2023 · 0 comments
Open

spack size limitations #196

adcorduneanu opened this issue Feb 13, 2023 · 0 comments

Comments

@adcorduneanu
Copy link

I tried to integrate spack in one of my projects with over 200k lines of JS and tried to bundle some modules with it.

In a conclusion, some module bundles worked very great (around 10 modules for 0.3 ms), while most failed ... badly.

From what I can deduct it has to do with the size of the files it requires to bundle - for example if I need to import 400 files in my index it can handle 20-ish... the rest it can't process. After a few hours of trial and error, I noticed it didn't have anything to do with the content, or encoding of the file, but with the size of the file. So excluding a bigger one can make place for others...

I do not know if this behavior is configurable, or if any other one has the same behavior.

I tried to compare it with esbuild which finishes everything in 6s, but unfortunately, I couldn't.

Is spack the official way to go? or did it change meanwhile to swcpack?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant