Possibility to exclude unused dependencies #3685
vvasilevbosch
started this conversation in
Artillery
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using artillery as a load testing tool against a service, using custom processor. I also run it inside kubernetes, I've created a docker image with node alpine and I notice the image is rather large: ~500MB, and looking inside, I see that there are three modules, that are not required in my test case, but I cannot exclude some of them, because artillery tries to load them, even if not configured to be used:
64MB ./@aws-sdk
70MB ./@DataDog
76MB ./@Azure
143MB ./@opentelemetry
I can exclude the datadog and opentelemetry dependenceies, but not aws-sdk and azure, and I'm only running tests on my kubernetes cluster, without reporting data to external one.
Does this sound to you like an improvement that can be implemented in the future?
Beta Was this translation helpful? Give feedback.
All reactions