Skip to content

Conversation

crenshaw-dev
Copy link
Member

getAppProj is on a fairly "hot" path (called from informer add/update/delete handlers), so avoiding the unnecessary 64B allocation here would be nice.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev requested a review from a team as a code owner December 10, 2024 22:24
Copy link

bunnyshell bot commented Dec 10, 2024

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.85%. Comparing base (2f51067) to head (fd155da).
Report is 426 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21121      +/-   ##
==========================================
- Coverage   55.20%   53.85%   -1.35%     
==========================================
  Files         324      324              
  Lines       55596    55600       +4     
==========================================
- Hits        30689    29942     -747     
- Misses      22285    23056     +771     
+ Partials     2622     2602      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@ishitasequeira ishitasequeira merged commit deb4d2b into argoproj:master Dec 11, 2024
27 checks passed
@crenshaw-dev crenshaw-dev deleted the avoid-unnecessary-alloc branch December 11, 2024 13:33
GuySaar8 pushed a commit to GuySaar8/argo-cd that referenced this pull request Dec 12, 2024
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
dudo pushed a commit to dudo/argo-cd that referenced this pull request Jan 18, 2025
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Brett C. Dudo <brett@dudo.io>
revitalbarletz pushed a commit to revitalbarletz/argo-cd that referenced this pull request Jan 20, 2025
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
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