def _keytify_test_cases(test_cases):
    """Traverse the test cases list and return a dictionnary
    which associate test case name to its duration. This is used for
    fast access to tests cases duration.
    """
    res = {}
    for tc in test_cases:
        key = "%s/%s" % (tc.get('classname'), tc.get('name'))
        if tc.get('time') is None or float(tc.get('time')) == 0.0:
            continue
        res[key] = float(tc.get('time'))
    return res