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

Speed up beacon file reading from zip files in tests #65

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

yunzheng
Copy link
Member

The beacon file is now read from the zip archive and returned as a BytesIO object.
Before it would return the file handle from the zip archive which is significantly slower.

The beacon file is now read from the zip archive and returned as a `BytesIO` object.
Before it would return the file handle from the zip archive which is significantly slower.
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.62%. Comparing base (c370161) to head (110862d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #65   +/-   ##
=======================================
  Coverage   74.62%   74.62%           
=======================================
  Files          11       11           
  Lines        2522     2522           
=======================================
  Hits         1882     1882           
  Misses        640      640           
Flag Coverage Δ
unittests 74.62% <ø> (ø)

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.

@yunzheng yunzheng merged commit 9a8a68f into main Oct 14, 2024
18 checks passed
@yunzheng yunzheng deleted the speed-up-beaconfile-tests branch October 14, 2024 08:16
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