<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{group_id} Summary - Criterion.rs</title>
    <style type="text/css">
        body \{
            font: 14px Helvetica Neue;
            text-rendering: optimizelegibility;
        }

        .body \{
            width: 960px;
            margin: auto;
        }

        a:link \{
            color: #1F78B4;
            text-decoration: none;
        }

        h2 \{
            font-size: 36px;
            font-weight: 300;
        }

        h3 \{
            font-size: 24px;
            font-weight: 300;
        }

        #footer \{
            height: 40px;
            background: #888;
            color: white;
            font-size: larger;
            font-weight: 300;
        }

        #footer a \{
            color: white;
            text-decoration: underline;
        }

        #footer p \{
            text-align: center
        }
    </style>
</head>

<body>
    <div class="body">
        <h2>{group_id}</h2>
        {{- if violin_plot }}
        <h3>Violin Plot</h3>
        <a href="violin.svg">
            <img src="violin.svg" alt="Violin Plot" />
        </a>
        <p>This chart shows the relationship between function/parameter and iteration time. The thickness of the shaded
            region indicates the probability that a measurement of the given function/parameter would take a particular
            length of time.</p>
        {{- endif }}
        {{- if line_chart }}
        <h3>Line Chart</h3>
        <img src="lines.svg" alt="Line Chart" />
        <p>This chart shows the mean measured time for each function as the input (or the size of the input) increases.</p>
        {{- endif }}
        {{- if line_throughput_chart }}
        <h3>Throughput Chart</h3>
        <img src="lines_throughput.svg" alt="Line Chart" />
        <p>This chart shows the mean measured throughput for each function as the input (or the size of the input) increases.</p>
        {{- endif }}
        {{- for bench in benchmarks }}
        <section class="plots">
            <a href="{bench.path}/report/index.html">
                <h4>{bench.name}</h4>
            </a>
            <table width="100%">
                <tbody>
                    <tr>
                        <td>
                            <a href="{bench.path}/report/pdf.svg">
                                <img src="{bench.path}/report/pdf_small.svg" alt="PDF of Slope" width="{thumbnail_width}"
                                    height="{thumbnail_height}" />
                            </a>
                        </td>
                        <td>
                            {{- if bench.regression_exists }}
                            <a href="{bench.path}/report/regression.svg">
                                <img src="{bench.path}/report/regression_small.svg" alt="Regression" width="{thumbnail_width}"
                                    height="{thumbnail_height}" />
                            </a>
                            {{- else }}
                            <a href="{bench.path}/report/iteration_times.svg">
                                <img src="{bench.path}/report/iteration_times_small.svg" alt="Iteration Times" width="{thumbnail_width}"
                                    height="{thumbnail_height}" />
                            </a>
                            {{- endif }}
                        </td>
                    </tr>
                </tbody>
            </table>
        </section>
        {{- endfor }}
    </div>
    <div id="footer">
        <p>This report was generated by
            <a href="https://github.com/criterion-rs/criterion.rs">Criterion.rs</a>, a statistics-driven benchmarking
            library in Rust.</p>
    </div>
</body>

</html>
