Skip to content

fix(aws-lambda): reduced lambda extension binary size#2044

Merged
aryamohanan merged 1 commit intomainfrom
fix-extension-size
Oct 8, 2025
Merged

fix(aws-lambda): reduced lambda extension binary size#2044
aryamohanan merged 1 commit intomainfrom
fix-extension-size

Conversation

@aryamohanan
Copy link
Copy Markdown
Contributor

@aryamohanan aryamohanan commented Oct 7, 2025

Reduced lambda extension binary size by stripping unwanted info

  • Added -trimpath to remove file system paths
  • Added -s to omit symbol table
  • Added -w to disable DWARF generation

Result: x86_64 binary reduced from 9.6MB → 6.4MB(33.3% smaller), arm64 from 9.0MB → 6.1MB(32.2% smaller)

ref: https://github.ibm.com/instana/lambda-extension/pull/27

@aryamohanan aryamohanan marked this pull request as ready for review October 7, 2025 15:40
@aryamohanan aryamohanan requested a review from a team as a code owner October 7, 2025 15:40
@aryamohanan aryamohanan merged commit 8bbed42 into main Oct 8, 2025
1 check passed
@instanacd instanacd deleted the fix-extension-size branch December 8, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants