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

Precompute bibtex string for BibliographyData #238

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

mdbenito
Copy link
Contributor

This PR avoids calling to_string("bibtex") on the whole bibliography upon each call to on_page_markdown. For our documentation with only 32 items in the bib this shaves off 15-18% of the docs build time.

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.98%. Comparing base (1496fab) to head (80a95fd).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #238      +/-   ##
==========================================
+ Coverage   97.97%   97.98%   +0.01%     
==========================================
  Files           3        3              
  Lines         198      199       +1     
==========================================
+ Hits          194      195       +1     
  Misses          4        4              

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

@shyamd shyamd merged commit e1b4c54 into shyamd:main Apr 4, 2024
15 checks passed
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