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

theoretical earlier start to asset downloads during startup #3589

Open
wants to merge 1 commit into
base: project/load-avatars-faster
Choose a base branch
from

Conversation

AndrewMeadows
Copy link
Contributor

I seemed like maybe we could start processing UDP messages a little earlier during the startup sequence, however I wasn't able to measure much improvement: there was just too much noise during login. Some logins go faster than others both with or without these changes.

@github-actions github-actions bot added the c/cpp label Feb 20, 2025
@@ -348,8 +348,6 @@ std::string gLastVersionChannel;
LLVector3 gWindVec(3.0, 3.0, 0.0);
LLVector3 gRelativeWindVec(0.0, 0.0, 0.0);

U32 gPacketsIn = 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was never actually used. It looks like old debug cruft that someone forgot to remove.

}
// ...then call display_startup()
display_startup();
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A wrapper for display_startup() that tries to process UDP packets, but only during a particular startup STATE wiindow. Hrm... I thought I had left a comment here about why I was bracketing the work between STATE_AGENT_SEND and STATE_PRECACHE, but I seem to have lost it. I will add it back.

@AndrewMeadows AndrewMeadows force-pushed the leviathan/faster-startup branch from 39f1193 to 90139f3 Compare February 21, 2025 22:24
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.

1 participant