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

Improve bot first spawn performance #52

Open
Mirroar opened this issue Sep 2, 2021 · 2 comments
Open

Improve bot first spawn performance #52

Mirroar opened this issue Sep 2, 2021 · 2 comments

Comments

@Mirroar
Copy link
Owner

Mirroar commented Sep 2, 2021

On botarena or in seasonal, other players reach GCL2 much faster, this can be improved with a few changes:

  • We don't need to optimize for CPU at that point, but can use all 100 CPU freely, so spawning 2- or 3-part creeps en masse is totally fine.
  • Use as many remotes as spawn can support
  • Maybe even use 1-claim claimers. Each can probably get 2 cycles of increased energy yield out of a remote room within its 600 lifespan. If respawned in time (and 2 spots around controller), this could be done indefinitely.
  • Bucket brigades would increase energy transport throughput (each handoff moves energy 2 tiles instead of 1 within a single tick)
  • Find sweet spot for when to build roads. Roads will allow less move parts on haulers, but we need to pay the energy to construct them. This would increase throughput especially on swamp tiles.
@Mirroar
Copy link
Owner Author

Mirroar commented Sep 2, 2021

This can be tested on a private server, or even xxscreeps. Spawn in the same location every time and compare results in Memory.roomStats

@Mirroar
Copy link
Owner Author

Mirroar commented Sep 21, 2023

Performance has improved greatly with better spawn priorization so now each room can support as many remotes as spawn time is available.

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

No branches or pull requests

1 participant