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

Prebid core: optimize getRefererInfo to run only once per page #8864

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

dgirardi
Copy link
Collaborator

Type of change

  • Refactoring (no functional changes, no api changes)

Description of change

Refactor getRefererInfo to do the heavy lifting only once; profiler data shows this to be one of the more expensive pieces of logic in core.

Copy link
Collaborator

@Rothalack Rothalack left a comment

Choose a reason for hiding this comment

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

This looks good to me, very straight forward. Do you want a second approval since this is core? @ChrisHuie

@ChrisHuie ChrisHuie merged commit 5362745 into prebid:master Aug 24, 2022
dgirardi added a commit that referenced this pull request Sep 6, 2022
patmmccann pushed a commit that referenced this pull request Sep 6, 2022
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants