1. Pypy
  2. Untitled project
  3. jitviewer

Source

jitviewer / _jitviewer / templates / index.html

<html>
<head>
  <title>PyPy JIT Viewer: {{ filename }}</title>
  <link rel="stylesheet" type="text/css" href="/static/style.css"/>
  <link rel="stylesheet" type="text/css" href="/static/pygments.css"/>
  {% if qt_workaround %}
      <link rel="stylesheet" type="text/css" href="/static/qt_workaround.css"/>
  {% endif %}

  <script src="/static/jquery/jquery-1.9.1.min.js"></script>
  <script src="/static/jquery/jquery-migrate-1.1.1.min.js"></script>
  <script src="/static/canjs/1.1.4/can.jquery.js"></script>
  <script src="/static/canjs/1.1.4/can.construct.proxy.js"></script>
  <script src="/static/jquery.scrollTo-1.4.2-min.js"></script>
  <script src="/static/app.js"></script>
  <script>
      $(document).ready(function(){ new JITViewer("body", {}); });
  </script>
</head>
<body>
  <header>
    <span>Menu</span><br/>
    <a id="asmtoggler" href="#">Show assembler [a]</a><br>
    <a id="bytecodepos_toggler" href="#">Show bytecode position [b]</a>
    <div id="callstack">
    </div>
  </header>
  <div id="title">
    <span id="title-text">JIT viewer</span>
  </div>
  <div id="filter">
      Filter [/]: <input id="inp-bar" type="text" size="80"></input>
  <div>
  <div id="loops">
    <ul>
      {% for item in loops %}
      <li class="loopitem" id="{{item.descr}}" name="{{item.repr()}}"><span><a href="#" data-name="{{ item.descr }}">{{item.repr()}}</a> run {{item.count}} times</span></li>
      {% endfor %}
    </ul>
    {% if extra_data %}
      <a href="/?all=true">{{extra_data}}</a>
    {% endif %}
  </div>
  <div id="main">
  </div>
</body>
</html>