-
Notifications
You must be signed in to change notification settings - Fork 652
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueperformanceperformance regressionperformance regressionpotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberthird-partyThis issue is related to third-party libraries or applications.This issue is related to third-party libraries or applications.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
While upgrading aws-sdk v3 clients from 3.806.0 to 3.957.0 in my project, I notices significant increase in bundle size. For example, in our case client-ec2 grew from 30kbs to 492kbs (all we use is EC2Client and 3 commands)
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/client-ec2@3.957.0,@aws-sdk/client-@3.957.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.19.6
Reproduction Steps
- Create a folder with these 2 files
npm install & npm test- Note
client-ec2size in the bundle (should be 25kbs) - In package.json update:
"@aws-sdk/client-ec2": "3.806.0"=>"@aws-sdk/client-ec2": "3.957.0" npm install & npm test- Note
client-ec2size increase in the bundle (should be 485kbs)
Observed Behavior
Bundle sized significantly increased
Expected Behavior
Bundle sized should remain the same
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueperformanceperformance regressionperformance regressionpotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team memberthird-partyThis issue is related to third-party libraries or applications.This issue is related to third-party libraries or applications.