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

performance optimizations & basic CICD for the submodule #66

Merged
merged 6 commits into from
Mar 27, 2024

Conversation

RevoluPowered
Copy link
Collaborator

@RevoluPowered RevoluPowered commented Mar 27, 2024

What does this do?

  • Previous join time for the metro was was 1m 20s and is now down to 40 seconds.
  • Join time for a fairly empty space is about 20-30 seconds.
  • Server boot time reduced the new server boot time is 19s from 60 seconds with metro
  • Prevents populating space objects multiple times

Benchmarked/Tested on a CPU bound machine AMD Ryzen 5 4500

TODO:

  • Client is disconnecting upon join this causes all instances to be reset, we should improve this so even if they reconnect they do not reset their objects until we're absolutely sure that is the correct action. (this should reduce the join time down a lot) (done by this PR, but can be improved)
  • Add an asset hash system to decrease load time considerably
  • Shader compilation freezes cause network to disconnect, can we move this to another thread easily like the deep linking?

Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mirror-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2024 7:07pm

@RevoluPowered RevoluPowered marked this pull request as draft March 27, 2024 03:42
- WIP add latest engine binary to CICD (needs deployment)
- Web Socket: increase buffer sizes to ensure we ask for as much data as possible from the backend during boot. (time saved is considerable)
- Fix connect by IP dialog
- Add timestamps to the load process
- Improve retrieval of assets/space objects
- Increase page size of web socket request for space objects pages
@RevoluPowered RevoluPowered changed the title Gordon/performance optimizations performance optimizations Mar 27, 2024
@RevoluPowered RevoluPowered marked this pull request as ready for review March 27, 2024 19:03
@RevoluPowered RevoluPowered changed the title performance optimizations performance optimizations & basic CICD for the submodule Mar 27, 2024
@RevoluPowered RevoluPowered merged commit a18ed38 into dev Mar 27, 2024
3 checks passed
@RevoluPowered RevoluPowered deleted the gordon/performance-optimizations branch March 27, 2024 19:45
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