<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Index - 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
        }

        table \{
            border-collapse: collapse;
        }

        table,
        th,
        td \{
            border: 1px solid #888;
        }
    </style>
</head>

<body>
    <div class="body">
        <h2>Criterion.rs Benchmark Index</h2>
        See individual benchmark pages below for more details.
        <ul>
            {{- for group in groups }}
            <li>{{ call report_link with group.group_report }}</li>
            {{- if group.function_ids }}
            {{- if group.values }}
            {# Function ids and values #}
            <ul>
                <li>
                    <table>
                        <tr>
                            <th></th>
                            {{- for func in group.function_ids }}
                            <th>{{ call report_link with func }}</th>
                            {{- endfor }}
                        </tr>
                        {{- for row in group.individual_links }}
                        <tr>
                            <th>{{ call report_link with row.value }}</th>
                            {{- for bench in row.benchmarks }}
                            <td>{{ call report_link with bench }}</td>
                            {{- endfor }}
                        </tr>
                        {{- endfor }}
                    </table>
                </li>
            </ul>
            {{- else }}
            {# Function IDs but not values #}
            <ul>
                {{- for func in group.function_ids }}
                <li>{{ call report_link with func }}</li>
                {{- endfor }}
            </ul>
            {{- endif }}
            {{- else }}
            {{- if group.values }}
            {# Values but not function ids #}
            <ul>
                {{- for val in group.values }}
                <li>{{ call report_link with val }}</li>
                {{- endfor }}
            </ul>
            {{- endif }}
            {{- endif }}
            {{- endfor }}
        </ul>
    </div>
    <div id="footer">
        <p>This report was generated by
            <a href="https://github.com/bheisler/criterion.rs">Criterion.rs</a>, a statistics-driven benchmarking
            library in Rust.</p>
    </div>
</body>
</html>