Skip to content

v1.3.6 - Performance fixes and profiling options

Compare
Choose a tag to compare
@Askaholic Askaholic released this 18 Mar 20:39
86ad4bb

Summary

Some important performance fixes for the asyncio broadcast changes. Broadcasted messages are now only encoded once like they used to be (instead of being re-encoded for every user). Hard to say concretely how much of an affect this will have, but in theory it should be pretty significant.

Also includes performance improvements for the matchmaker algorithm by dramatically decreasing the number of unnecessary calls to trueskill. The algorithm is now also run asynchronously in the default asyncio executor. This should drastically increase the number of players that the matchmaker can effectively handle.

Deployment Notes

  • New environment variable PROFILING_INTERVAL for setting the interval in seconds at which the profiler will be enabled. Please set this to 70.

Pull Requests

  • Added intermitent profiling (#541)
  • Improve broadcast performance (#542)
  • Bump faf stack version in Travis to 20.2.7 (#544)
  • Ice unit tests (#540)
  • Improve matchmaking performance (#531)
  • Placating flake8 (#539)