def benchmark_multi(optimizer):
    """Benchmark an optimizer configuration on multiple functions."""
    # Get our benchmark stats
    all_stats = benchmark.compare(optimizer, PROBLEMS, runs=100)
    return benchmark.aggregate(all_stats)