Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: optimize reload storage #3167

Merged
merged 4 commits into from
Apr 8, 2024
Merged

feat: optimize reload storage #3167

merged 4 commits into from
Apr 8, 2024

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Apr 3, 2024

Description

Optimize reload storage for a large number of files.

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

Signed-off-by: Jim Ma <majinjing3@gmail.com>
@jim3ma jim3ma requested a review from a team as a code owner April 3, 2024 11:50
jim3ma added 2 commits April 3, 2024 19:58
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Copy link

codecov bot commented Apr 7, 2024

Codecov Report

Attention: Patch coverage is 11.36364% with 78 lines in your changes are missing coverage. Please review.

Project coverage is 51.82%. Comparing base (2c54d1c) to head (423d210).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3167      +/-   ##
==========================================
- Coverage   51.89%   51.82%   -0.07%     
==========================================
  Files         163      163              
  Lines       18668    18686      +18     
==========================================
- Hits         9687     9684       -3     
- Misses       8304     8327      +23     
+ Partials      677      675       -2     
Flag Coverage Δ
unittests 51.82% <11.36%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
client/config/peerhost.go 47.74% <ø> (ø)
client/config/peerhost_linux.go 100.00% <100.00%> (ø)
client/daemon/storage/storage_manager.go 16.42% <10.34%> (-0.81%) ⬇️

... and 2 files with indirect coverage changes

Signed-off-by: Jim Ma <majinjing3@gmail.com>
@jim3ma jim3ma added the enhancement New feature or request label Apr 8, 2024
Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@gaius-qi gaius-qi merged commit fc53dcf into main Apr 8, 2024
23 checks passed
@gaius-qi gaius-qi deleted the feat/reload-storage branch April 8, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants