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

Avoid expensive calls when rendering item show view page #5519

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

cjcolvar
Copy link
Member

@cjcolvar cjcolvar commented Dec 12, 2023

Resolves #5509

I think the changes to these two files are all of the low hanging fruit that I could find. It's still slow but much improved since we aren't trying to fetch the MasterFile objects from solr 4 or 5 times.

With https://avalon-dev.dlib.indiana.edu/media_objects/3f462541v
Before: 9.9s (page) + 6.6s (manifest) = 16.5s total
After: 1.9s (page) + 5.2s (manifest) = 7.1s total

Copy link
Contributor

@masaball masaball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cjcolvar cjcolvar merged commit b42fc30 into develop Dec 15, 2023
@cjcolvar cjcolvar deleted the speedyaf_show branch December 15, 2023 16:27
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