rackerlabs/quark — pull request #78 by Cerberus98 (2014-03-03 18:19:01+00:00)
Title: More optimizations for #75

Condenses many of the SQL queries down to a single query per call,
dramatically speeding up quark in several instances. Additionally, adds
the profiling decorators I've been using in testing to util.py for
future usage and optimization.