]> git.xonotic.org Git - xonotic/xonstat.git/commit
Remove the join to game stats for accuracy data.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 22 Apr 2015 10:48:25 +0000 (06:48 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 22 Apr 2015 10:48:25 +0000 (06:48 -0400)
commit31d29e1f1101f6419f934542cbb2790c2667571f
treebfd5202081daa87ce3e4cdaf13f25675a0b14b39
parenta8e4139f66c12f5a81f210dd5f37faf6dd3ff671
Remove the join to game stats for accuracy data.

This speeds up the game_info view considerably. On my local machine the
requests go from .62 to about .2 seconds! I believe the pgstat rows were
included in the response to show nicknames in the accuracy table.

I'll have to do further checks to ensure that if a pgstat row exists a
corresponding pwstat row exists as well.
xonstat/views/game.py