def is_comparison_pass(avg_historical_throughput, test_throughput, tolerance, ref_type='none'):
    """ Determine whether or not to consider the benchmark test as passed """
    if ref_type == 'none':
        return True
    min_allowed_throughput = avg_historical_throughput - float(avg_historical_throughput) * (float(tolerance) / 100)
    return test_throughput > min_allowed_throughput