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

Some performance improvements #131

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Conversation

KennyChenBasis
Copy link
Contributor

Benchmarked on the Belgium page.

by stopping earlier. This can double the performance for cases such as
getting the plain text of every link.
Around 9% faster by moving the computation of `rmlength` outside of the
loops.
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f054bb0) to head (cd0fce3).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #131   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines         2234      2234           
=========================================
  Hits          2234      2234           

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

@5j9 5j9 merged commit cf5b5ed into 5j9:master Apr 9, 2024
20 checks passed
@5j9
Copy link
Owner

5j9 commented Apr 9, 2024

Excellent! Thank you! Released as v0.55.11.

@KennyChenBasis KennyChenBasis deleted the improve-performance branch April 9, 2024 14:01
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.

2 participants