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

Improve performance when commit logs are long #35

Merged
merged 2 commits into from
Feb 27, 2022
Merged

Improve performance when commit logs are long #35

merged 2 commits into from
Feb 27, 2022

Conversation

seachicken
Copy link
Owner

Fixes #34

Trim the logs in repositories with long histories, as they will go back to the initial commit, and performance will be poor.
Even if trim the history, it will still be associated with the PR, so basically it's not a problem.
@codecov
Copy link

codecov bot commented Feb 27, 2022

Codecov Report

Merging #35 (1260b9f) into main (a2a845b) will increase coverage by 0.26%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   88.69%   88.95%   +0.26%     
==========================================
  Files           3        3              
  Lines         504      507       +3     
==========================================
+ Hits          447      451       +4     
+ Misses         45       44       -1     
  Partials       12       12              
Impacted Files Coverage Δ
poi.go 91.20% <100.00%> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a2a845b...1260b9f. Read the comment docs.

@seachicken seachicken merged commit 63af4a9 into main Feb 27, 2022
@seachicken seachicken deleted the trim-log branch February 27, 2022 02: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.

Commands do not complete in repositories with long commit history
1 participant