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(shwap): Add bufferisation for writing ods/Q1Q4 files #3592

Merged
merged 9 commits into from
Jul 25, 2024

Conversation

walldiss
Copy link
Member

Use buffered write of eds shares and axis roots to the disk. According to benchmark it improves write time for writing single block from 79ms -> 19ms (4x).

@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 16 lines in your changes missing coverage. Please review.

Please upload report for BASE (shwap@c716c97). Learn more about missing BASE report.

Files Patch % Lines
store/file/ods.go 56.52% 5 Missing and 5 partials ⚠️
store/file/q1q4_file.go 64.70% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             shwap    #3592   +/-   ##
========================================
  Coverage         ?   47.56%           
========================================
  Files            ?      317           
  Lines            ?    18730           
  Branches         ?        0           
========================================
  Hits             ?     8909           
  Misses           ?     8665           
  Partials         ?     1156           

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

store/file/ods.go Outdated Show resolved Hide resolved
store/file/ods.go Outdated Show resolved Hide resolved
store/file/ods.go Outdated Show resolved Hide resolved
store/file/ods.go Outdated Show resolved Hide resolved
store/file/ods.go Outdated Show resolved Hide resolved
store/file/ods.go Outdated Show resolved Hide resolved
@walldiss walldiss merged commit eb8298f into celestiaorg:shwap Jul 25, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants