def METHOD_NAME(results, outdir):
    """ Write the test results out as a simple webpage.
    """
    backends = []
    benchmarks = {}
    # Transpose the results so that they're accesible by benchmark.
    for btype, backend_results in results.items():
        backends.extend(list(backend_results))
        for bend in backend_results:
            for benchmark_name, res in backend_results[bend].items():
                benchmarks.setdefault(benchmark_name, {})[bend] = res
    # Convert each benchmark into an output comparison page and a row for the
    # comparison table.
    comparisons = {}
    for benchmark_name, benchmark_results in benchmarks.items():
        _build_output_comparison_page(
            benchmark_name, benchmark_results, outdir
        )
        # Compare each result to the "kiva.agg" result
        baseline = benchmark_results["kiva.agg"]
        comparisons[benchmark_name] = {
            name: result.compare_to(baseline)
            for name, result in benchmark_results.items()
        }
    # Fill out the comparison table and write the summary index
    comparison_table = _build_comparison_table(backends, comparisons)
    path = os.path.join(outdir, "index.html")
    with open(path, "w", encoding="utf-8") as fp:
        fp.write(_INDEX_TEMPLATE.format(comparison_table=comparison_table))