golang.org/x/build@v0.0.0-20240506185731-218518f32b70/perf/app/template/index.html (about)

     1  <!DOCTYPE html>
     2  <!--
     3   Copyright 2022 The Go Authors. All rights reserved.
     4   Use of this source code is governed by a BSD-style
     5   license that can be found in the LICENSE file.
     6  -->
     7  
     8  <html>
     9    <head>
    10      <meta charset="utf-8">
    11      <title>Go Performance Result Dashboard</title>
    12      <style type="text/css">
    13  #header h1 {
    14    display: inline;
    15  }
    16  #search {
    17    padding: 1em .5em;
    18    width: 100%;
    19  }
    20  input[type="text"] {
    21    font-size: 100%;
    22  }
    23  #results {
    24    border-top: 1px solid black;
    25  }
    26      </style>
    27    </head>
    28    <body>
    29      <div id="header">
    30        <h1>Go Performance Dashboard</h1>
    31        <a href="/">about</a>
    32      </div>
    33      <div id="search">
    34        <form action="/search">
    35          <input type="text" name="q" size="120">
    36          <input type="submit" value="Search">
    37        </form>
    38      </div>
    39      <div id="results">
    40        <p>The Go Performance Dashboard provides a centralized
    41          resource for sharing and analyzing benchmark results. To get
    42          started, upload benchmark results using
    43          <code>go get -u golang.org/x/perf/cmd/benchsave</code>
    44          and
    45          <code>benchsave old.txt new.txt</code>
    46          or upload via the web at
    47          <a href="https://perfdata-dot-golang-org.appspot.com/upload">https://perfdata-dot-golang-org.appspot.com/upload</a>.</p>
    48        {{with .RecentUploads}}
    49          <h2>Recent Uploads</h2>
    50          <table>
    51            <thead>
    52              <tr><th>Records</th><th>Upload</th><th>By</th></tr>
    53            </thead>
    54            <tbody>
    55              {{range .}}
    56                <tr>
    57                  <td>{{.Count}}</td>
    58                  <td><a href="/search?q=upload:{{.UploadID}}">{{index .LabelValues "upload-time"}}</a></td>
    59                  <td>{{.LabelValues.by}}</td>
    60                </tr>
    61              {{end}}
    62            </tbody>
    63          </table>
    64        {{end}}
    65      </div>
    66    </body>
    67  </html>