Problem: when reusing the aurora.client.cli.context to process multiple jobkeys from a config_file, the client currently reloads and processes the config file for each jobkey. For large complicated aurora files this can take ~40s to process which makes it expensive to do this every time for each jobkey.
Solution: memoize the loader.load() on the config file path so that we only load and process each config file once. Result: We only need to load and process each config file once. For config files with ~50keys and a 40s load time, this significantly reduces the overall time spent inspecting the jobs. [ Full content available at: https://github.com/apache/aurora/pull/41 ] This message was relayed via gitbox.apache.org for [email protected]
