docs: def measure(config, result, max_retries=10):
    """Records results on hyperchamber.io.  Used when you are done testing a config."""
    url = get_api_path('measurement.json')
    data = {'config': config, 'result': result}
    retries = 0
    while(retries < max_retries):
        try:
            r = requests.post(url, data=json.dumps(data, cls=HCEncoder), headers=get_headers(), timeout=30)
            return r.text
        except requests.exceptions.RequestException:
            e = sys.exc_info()[0]
            print("Error while calling hyperchamber - retrying ", e)
            retries += 1