<commit_before><!DOCTYPE html>
<!--
Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link rel="import" href="/components/iron-icons/iron-icons.html">

<link rel="import" href="/dashboard/static/simple_xhr.html">

<dom-module id="nav-bar">
  <template>
    <style>
      #navbar {
        width: 100%;
      }

      #navbar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
        z-index: 1000;
        margin-left: -10px; /* Ignore body's padding left. */
        padding-right: 20px; /* Ignore body's padding right. */
      }

      #navbar > ul {
        display: flex;
        display: -webkit-flex;
        width: 100%;
        background-color: #2D2D2D;
        border-bottom: black;
        margin-bottom: 6px;
      }

      #navbar li {
        padding: 6px 10px;
      }

      #navbar li > a {
        cursor: pointer;
        text-decoration: none;
      }

      #navbar > ul > li, #navbar > ul > li > a {
        color: #ddd;
        font-weight: bold;
      }

      /* The addition of the icons to the <iron-icon> elements to the submenus
       * makes the submenu title text lower; the below style rule is intended
       * to align the other menu items. */
      #navbar .menu > li a {
        display: inline-block;
        padding-top: 3px;
      }

      #navbar .submenu li, #navbar .submenu a {
        color: #ddd;
        font-weight: normal;
      }

      /* This is a spacer in the navbar list that pushes the items after it
       * all the way to the right side. */
      .spacer {
        flex: 100;
      }

      #navbar .menu li:hover > ul {
        margin-top: 6px;
        background-color: #2D2D2D;
        border: 1px solid rgba(0, 0, 0, .2);
      }

      #navbar li:hover, #navbar a:hover {
        color: white;
      }

      #navbar .menu-drop-arrow {
        border-top-color: #aaa;
        position: relative;
        top: -1px;
        border-style: solid dashed dashed;
        border-color: transparent;
        border-top-color: #c0c0c0;
        display: -moz-inline-box;
        display: inline-block;
        font-size: 0;
        height: 0;
        line-height: 0;
        width: 0;
        border-width: 3px 3px 0;
        padding-top: 1px;
        left: 4px;
      }

      /* Basic select menus. */
      .menu ul {
        display: none;
      }

      .menu li:hover > ul {
        display: block;
        position: absolute;
      }

      .report-issue {
        color: #dd4b39 !important;
      }
    </style>
    <nav id="navbar">
      <ul class="menu">
        <li><a href="/">Home</a></li>
        <li><a href="/alerts">Alerts</a></li>
        <li><a href="/report">Browse Graphs</a></li>
        <li><a href="https://code.google.com/p/chromium/issues/list?q=label%3AType-Bug-Regression+label%3APerformance&amp;sort=-id"
               target="_blank">Perf Bugs</a></li>
        <li>Other Pages<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://go/perf-owners">Edit Test Owners</a></li>
            <li><a href="/bisect_stats">Bisect Stat Graphs</a></li>
            <li><a href="/new_points">Recently Added Points</a></li>
            <li><a href="/debug_alert">Debug Alert</a></li>
          </ul>
        </li>
        <li>Waterfalls<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://build.chromium.org/p/chromium.perf/waterfall?show_events=true&amp;failures_only=true&amp;reload=120"
                   target="_blank">chromium.perf</a></li>
            <li><a href="http://build.chromium.org/p/chromium.webkit/waterfall?builder=Win7%20Perf&amp;builder=Mac10.6%20Perf&amp;builder=Linux%20Perf"
                   target="_blank">chromium.webkit</a></li>
            <li><a href="http://build.chromium.org/p/chromium.gpu/waterfall?show_events=true&amp;failures_only=true&amp;reload=120"
                   target="_blank">chromium.gpu</a></li>
            <li><a href="http://build.chromium.org/p/tryserver.chromium.perf/builders"
                   target="_blank">Bisect bots</a></li>
          </ul>
        </li>
        <li>Help<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://www.chromium.org/developers/speed-infra/performance-dashboard"
                   target="_blank">Perf Dashboard Public Documentation</a></li>
            <li><a href="http://www.chromium.org/developers/speed-infra/performance-dashboard/endpoints"
                   target="_blank">Documented Endpoints</a></li><commit_msg>Add link to benchmark health report from navbar<commit_after><!DOCTYPE html>
<!--
Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link rel="import" href="/components/iron-icons/iron-icons.html">

<link rel="import" href="/dashboard/static/simple_xhr.html">

<dom-module id="nav-bar">
  <template>
    <style>
      #navbar {
        width: 100%;
      }

      #navbar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
        z-index: 1000;
        margin-left: -10px; /* Ignore body's padding left. */
        padding-right: 20px; /* Ignore body's padding right. */
      }

      #navbar > ul {
        display: flex;
        display: -webkit-flex;
        width: 100%;
        background-color: #2D2D2D;
        border-bottom: black;
        margin-bottom: 6px;
      }

      #navbar li {
        padding: 6px 10px;
      }

      #navbar li > a {
        cursor: pointer;
        text-decoration: none;
      }

      #navbar > ul > li, #navbar > ul > li > a {
        color: #ddd;
        font-weight: bold;
      }

      /* The addition of the icons to the <iron-icon> elements to the submenus
       * makes the submenu title text lower; the below style rule is intended
       * to align the other menu items. */
      #navbar .menu > li a {
        display: inline-block;
        padding-top: 3px;
      }

      #navbar .submenu li, #navbar .submenu a {
        color: #ddd;
        font-weight: normal;
      }

      /* This is a spacer in the navbar list that pushes the items after it
       * all the way to the right side. */
      .spacer {
        flex: 100;
      }

      #navbar .menu li:hover > ul {
        margin-top: 6px;
        background-color: #2D2D2D;
        border: 1px solid rgba(0, 0, 0, .2);
      }

      #navbar li:hover, #navbar a:hover {
        color: white;
      }

      #navbar .menu-drop-arrow {
        border-top-color: #aaa;
        position: relative;
        top: -1px;
        border-style: solid dashed dashed;
        border-color: transparent;
        border-top-color: #c0c0c0;
        display: -moz-inline-box;
        display: inline-block;
        font-size: 0;
        height: 0;
        line-height: 0;
        width: 0;
        border-width: 3px 3px 0;
        padding-top: 1px;
        left: 4px;
      }

      /* Basic select menus. */
      .menu ul {
        display: none;
      }

      .menu li:hover > ul {
        display: block;
        position: absolute;
      }

      .report-issue {
        color: #dd4b39 !important;
      }
    </style>
    <nav id="navbar">
      <ul class="menu">
        <li><a href="/">Home</a></li>
        <li><a href="/alerts">Alerts</a></li>
        <li><a href="/report">Browse Graphs</a></li>
        <li><a href="https://code.google.com/p/chromium/issues/list?q=label%3AType-Bug-Regression+label%3APerformance&amp;sort=-id"
               target="_blank">Perf Bugs</a></li>
        <li><a href="/benchmark_health_report">Benchmark Health</a></li>
        <li>Other Pages<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://go/perf-owners">Edit Test Owners</a></li>
            <li><a href="/bisect_stats">Bisect Stat Graphs</a></li>
            <li><a href="/new_points">Recently Added Points</a></li>
            <li><a href="/debug_alert">Debug Alert</a></li>
          </ul>
        </li>
        <li>Waterfalls<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://build.chromium.org/p/chromium.perf/waterfall?show_events=true&amp;failures_only=true&amp;reload=120"
                   target="_blank">chromium.perf</a></li>
            <li><a href="http://build.chromium.org/p/chromium.webkit/waterfall?builder=Win7%20Perf&amp;builder=Mac10.6%20Perf&amp;builder=Linux%20Perf"
                   target="_blank">chromium.webkit</a></li>
            <li><a href="http://build.chromium.org/p/chromium.gpu/waterfall?show_events=true&amp;failures_only=true&amp;reload=120"
                   target="_blank">chromium.gpu</a></li>
            <li><a href="http://build.chromium.org/p/tryserver.chromium.perf/builders"
                   target="_blank">Bisect bots</a></li>
          </ul>
        </li>
        <li>Help<iron-icon icon="arrow-drop-down"></iron-icon>
          <ul class="submenu">
            <li><a href="http://www.chromium.org/developers/speed-infra/performance-dashboard"
                   target="_blank">Perf Dashboard Public Documentation</a></li>
            <li><a href="http://www.chromium.org/developers/speed-infra/performance-dashboard/endpoints"
                   target="_blank">Documented Endpoints</a></li>
{'fraction_non_alphanumeric': 0.14944782743317164, 'fraction_numerical': 0.016100732789761586, 'mean_word_length': 1.9778733866011062, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 193, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1446606', 'n_tokens_mistral': 3313, 'n_tokens_neox': 3061, 'n_words': 663}