def computeStatistic( benchmarks, field, func ):
    """
    Return the result of func applied to the values of field in benchmarks.
    
    Arguments:
        benchmarks: The list of benchmarks to gather data from.
        field: The field to gather from the benchmarks.
        func: The function to apply to the data, must accept a list and return a single value.
    """
    results = []
    for benchmark in benchmarks:
        results.append( benchmark[ field ] )

    return func( results )