Skip to content

perf: lazy load loguru.logger to speed up cli -h#150

Open
joanise wants to merge 2 commits into
mainfrom
dev.ej/lazy-load-logger
Open

perf: lazy load loguru.logger to speed up cli -h#150
joanise wants to merge 2 commits into
mainfrom
dev.ej/lazy-load-logger

Conversation

@joanise

@joanise joanise commented Jul 17, 2026

Copy link
Copy Markdown
Member

@joanise
joanise requested a review from roedoejet July 17, 2026 15:35
@semanticdiff-com

semanticdiff-com Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  fs2/variance_adaptor.py  52% smaller
  fs2/cli/check_data.py  0% smaller
  fs2/cli/preprocess.py  0% smaller
  fs2/cli/synthesize.py  0% smaller
  fs2/cli/train.py  0% smaller
  fs2/model.py  0% smaller
  fs2/prediction_writing_callback.py  0% smaller

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 44.44444% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.42%. Comparing base (22272e5) to head (193ccc6).

Files with missing lines Patch % Lines
fs2/cli/check_data.py 0.00% 2 Missing ⚠️
fs2/cli/preprocess.py 0.00% 1 Missing ⚠️
fs2/cli/train.py 0.00% 1 Missing ⚠️
fs2/variance_adaptor.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   47.52%   47.42%   -0.11%     
==========================================
  Files          27       27              
  Lines        1978     1978              
  Branches      224      224              
==========================================
- Hits          940      938       -2     
- Misses       1002     1004       +2     
  Partials       36       36              

☔ 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.

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