Skip to content

perf: Reduction of CPU and memory footprint#2955

Merged
dadrus merged 1 commit intoreleasefrom
perf/reduction_of_cpu_and_memory_footprint
Jan 5, 2026
Merged

perf: Reduction of CPU and memory footprint#2955
dadrus merged 1 commit intoreleasefrom
perf/reduction_of_cpu_and_memory_footprint

Conversation

@dadrus
Copy link
Copy Markdown
Owner

@dadrus dadrus commented Jan 5, 2026

Related issue(s)

none

Checklist

Description

This PR introduces some code refactorings and enhancements which, depending on the used configuration, can reduce the amount of heap allocated objects and the used memory by ~4%, as well as the CPU usage by ~15%.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 5, 2026

Codecov Report

❌ Patch coverage is 96.55172% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.21%. Comparing base (7e0bc65) to head (3c81c9f).
⚠️ Report is 1 commits behind head on release.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
internal/rules/mechanisms/subject/subject.go 75.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           release    #2955      +/-   ##
===========================================
+ Coverage    91.16%   91.21%   +0.05%     
===========================================
  Files          283      283              
  Lines        10725    10744      +19     
===========================================
+ Hits          9777     9800      +23     
+ Misses         689      687       -2     
+ Partials       259      257       -2     

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

@dadrus dadrus merged commit 2278df6 into release Jan 5, 2026
19 checks passed
@dadrus dadrus deleted the perf/reduction_of_cpu_and_memory_footprint branch January 5, 2026 00:31
@dadrus dadrus mentioned this pull request Jan 5, 2026
4 tasks
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.

1 participant