Slither.io-bot icon indicating copy to clipboard operation
Slither.io-bot copied to clipboard

Instrumentation infrastructure

Open brookstalley opened this issue 8 years ago • 2 comments

Description

  • Adds logUtil, and easy way to profile performance and get statistics including mean, stdev, min, and max
  • Adds stdev stat to bot.scores display
  • Adds indication of last X (default 200) frames performance from computeFoodGoal

TESTING STAGE

Should not change actual bot performance.

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] I have read CONTRIBUTING.md
  • [x] I fully understand the Github Flow and I'm merging into the develop branch , which is the default branch, and not the master branch
  • [x] My code adheres to the code style of this project but most importantly of all to the things mentioned, which I have read, in CONTRIBUTING.md
  • [ ] If my change requires a change to the documentation, I have updated the documentation in /docs accordingly.
  • [ ] I have included the results of the test required.

brookstalley avatar Jun 12 '16 17:06 brookstalley

:+1:

Approved with PullApprove

K00sKlust avatar Jun 12 '16 20:06 K00sKlust

I like it! Need to fix some minor issues and then I will approve.

ChadSki avatar Jun 17 '16 01:06 ChadSki