Skip to content

Feature: lazy load models in groups #78

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

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

yanyongyu
Copy link
Owner

@yanyongyu yanyongyu commented Jan 4, 2024

Models for each version are now loaded in groups when importing.

Currently, memory used by githubkit when startup is less than 50M.

fix #11
fix #54
fix #76

@yanyongyu yanyongyu added the enhancement New feature or request label Jan 4, 2024
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (664ac39) 82.50% compared to head (af87c31) 75.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
- Coverage   82.50%   75.60%   -6.90%     
==========================================
  Files         108      541     +433     
  Lines       62239    59462    -2777     
==========================================
- Hits        51349    44957    -6392     
- Misses      10890    14505    +3615     
Flag Coverage Δ
unittests 75.60% <100.00%> (-6.90%) ⬇️

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

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

@yanyongyu yanyongyu merged commit 9ad39a7 into master Jan 4, 2024
@yanyongyu yanyongyu deleted the feat/model-group branch January 4, 2024 07:49
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
1 participant