openstack-health/openstack_health
Matthew Treinish 3ed878f6b8
Add caching on get_test_runs_by_build_name
This commit enables simple caching on the results from the
get_test_runs_by_build_name. This API call involves one of the slowest
subunit2sql DB calls we make and is a good candidate for caching.
Right now, we just cache on name and the request datestamps which will
result in a lot of potential cache misses as people request varied
dates and/or build_names. So there is probably room for additional
optimizations in the future.

Change-Id: I7582188f4f027bc86375056e5cf60cca3a760ce8
2016-06-29 16:00:49 -04:00
..
tests Add caching on get_test_runs_by_build_name 2016-06-29 16:00:49 -04:00
__init__.py Add python bits to the repo 2015-09-14 19:06:08 -04:00
api.py Add caching on get_test_runs_by_build_name 2016-06-29 16:00:49 -04:00
base_aggregator.py Properly interpolate missing data for test_runs 2015-12-11 17:12:43 -05:00
distributed_dbm.py Fix changed imports in dogpile.cache 0.6.0 2016-06-07 11:52:08 -04:00
run_aggregator.py Enable Python 3 2016-02-24 19:56:46 +00:00
test_run_aggregator.py Turn off interpolation on raw test run numeric data 2016-06-07 11:24:43 -04:00