Skip to content

Make it easier to benchmark encounters/hr on a route#795

Merged
hanzi merged 1 commit into40Cakes:mainfrom
hanzi:benchmark-mode
Feb 10, 2026
Merged

Make it easier to benchmark encounters/hr on a route#795
hanzi merged 1 commit into40Cakes:mainfrom
hanzi:benchmark-mode

Conversation

@hanzi
Copy link
Collaborator

@hanzi hanzi commented Feb 10, 2026

Description

This allows setting the environment variable POKEBOT_ENCOUNTER_BENCHMARK to increase the encounter timing log (which is what the encounter/hr number is based on) from 100 entries to 1,000 for a more accurate number due to higher sample size.

Additionally, it displays the current size of the timing log in the Emulator debug tab.

Until now I've always manually edited that in locally and then reverted the changes, but that's getting a bit tiring.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

This allows setting the environment variable `POKEBOT_ENCOUNTER_BENCHMARK` to increase the encounter timing log (which is what the encounter/hr number is based on) from 100 entries to 1,000 for a more accurate number due to higher sample size.

Additionally, it displays the current size of the timing log in the `Emulator` debug tab.

Until now I've always manually edited that in locally and then reverted the changes, but that's getting a bit tiring.
@hanzi hanzi merged commit bfb3b4a into 40Cakes:main Feb 10, 2026
1 check passed
@hanzi hanzi deleted the benchmark-mode branch February 10, 2026 14:23
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

Comments