Skip to content

perf: speed up system fetch#1055

Draft
amarnath-ac wants to merge 3 commits into
redfishfrom
optimize_system_fetch
Draft

perf: speed up system fetch#1055
amarnath-ac wants to merge 3 commits into
redfishfrom
optimize_system_fetch

Conversation

@amarnath-ac

Copy link
Copy Markdown
Contributor
  1. Use one WS-Man setup per system request to remove extra overhead.
  2. Cache static hardware and version data for 5 minutes, while keeping power, features, and boot data live.

1. Use one WS-Man setup per system request to remove extra overhead.
2. Cache static hardware and version data for 5 minutes, while keeping power,
   features, and boot data live.

Signed-off-by: C, Amarnath <[email protected]>
@codecov

codecov Bot commented Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.67%. Comparing base (934b748) to head (a4d4a14).

Files with missing lines Patch % Lines
redfish/internal/usecase/wsman_repo.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           redfish    #1055   +/-   ##
========================================
  Coverage    44.66%   44.67%           
========================================
  Files          157      157           
  Lines        15622    15627    +5     
========================================
+ Hits          6978     6981    +3     
- Misses        8032     8034    +2     
  Partials       612      612           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

amarnath-ac and others added 2 commits June 8, 2026 12:39
GetByID fetches boot data once and reuses it in GetComputerSystem,
avoiding a duplicate WS-Man round-trip.

Signed-off-by: C, Amarnath <[email protected]>
@sudhir-intc sudhir-intc changed the title speed up system fetch perf: speed up system fetch Jun 9, 2026
@sudhir-intc sudhir-intc marked this pull request as ready for review June 9, 2026 11:09
@sudhir-intc sudhir-intc requested a review from a team as a code owner June 9, 2026 11:09
@sudhir-intc sudhir-intc marked this pull request as draft June 9, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants