<!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 amound of time.</p>
        {{/if}}
        {{#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>
        {{/if}}
        {{#each benchmarks}}
        <section class="plots">
            <a href="{{this.path}}/report/index.html"><h4>{{this.name}}</h4></a>
            <table width="100%">
                <tbody>
                    <tr>
                        <td>
                            <a href="{{this.path}}/report/pdf.svg">
                                <img src="{{this.path}}/report/pdf_small.svg" alt="PDF of Slope" width="{{thumbnail_width}}" height="{{thumbnail_height}}" />
                            </a>
                        </td>
                        <td>
                            <a href="{{this.path}}/report/regression.svg">
                                <img src="{{this.path}}/report/regression_small.svg" alt="Regression" width="{{thumbnail_width}}" height="{{thumbnail_height}}" />
                            </a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </section>
        {{/each}}
    </div>
    <div id="footer">
        <p>This report was generated by
            <a href="https://github.com/japaric/criterion.rs">Criterion.rs</a>, a statistics-driven benchmarking library in Rust.</p>
    </div>
</body>

</html>
