Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: tools/profviz/profviz.html

Issue 17592002: Add v8.log visualizer page. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: small changes Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/profviz/profviz.css ('k') | tools/profviz/profviz.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!-- Copyright 2013 the V8 project authors. All rights reserved.
3
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions are
6 met:
7 * Redistributions of source code must retain the above copyright
8 notice, this list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above
10 copyright notice, this list of conditions and the following
11 disclaimer in the documentation and/or other materials provided
12 with the distribution.
13 * Neither the name of Google Inc. nor the names of its
14 contributors may be used to endorse or promote products derived
15 from this software without specific prior written permission.
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
27
28 <html lang="en-us">
29 <head>
30 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
31 <title>V8 profile log plotter</title>
32 <link rel="stylesheet" type="text/css" href="profviz.css">
33 <script src="profviz.js"></script>
34 </head>
35
36 <body onload="onload()">
37 <div id="content">
38
39 <img src="" id="plot" type="image/svg+xml"
40 width="1200" height="600" class="float-right"/>
41 <br/>
42
43 <table>
44 <tr>
45 <td width="20%">
46 <button type="button" id="start" onclick="start()">
47 Start plot
48 </button>
49 <button type="button" id="reset" onclick="ui.reset(); worker.reset();">
50 Reset
51 </button>
52 </td>
53 <td width="20%">
54 <input type="file" id="file" onchange="ui.reset();"/>
55 </td>
56 <td width="30%">
57 <label title="You can manually choose the range
58 to plot only part of the log file.">
59 <span class="tooltip">Range</span>:
60 </label>
61 <input type="text" id="range_start" class="range"/>
62 <label>to</label>
63 <input type="text" id="range_end" class="range"/>
64 </td>
65 <td width="30%">
66 <label title="We model profiling overhead by accounting a constant
67 execution delay to each log entry. Adjust to better suit
68 your computer's performance.">
69 <span class="tooltip">Delay per log entry</span>:
70 </label>
71 <input type="text" id="distortion" class="range" value="4500"/>
72 <label>picoseconds</label>
73 </td>
74 </tr>
75 </table>
76
77 <br/>
78 <textarea class="log" id="log" rows="8" disabled=true></textarea>
79
80 <div class="text">
81 <h1>Instructions</h1>
82 <div id="instructions">
83 <ol>
84 <li>
85 Run V8 with
86 <span class="tt">--prof --log-timer-events</span>,
87 or alternatively,<br/>
88 Chrome with
89 <span class="tt">
90 --no-sandbox --js-flags="--prof --noprof-lazy --log-timer-events
91 </span> to produce <span class="tt">v8.log</span>.
92 </li>
93 <li>
94 Open
95 <span class="tt">v8.log</span>
96 on this page. Don't worry, it won't be uploaded anywhere.
97 </li>
98 <li>
99 Click "Start plot" to starts number crunching. This will take a while.
100 </li>
101 </ol>
102 </div>
103 </div>
104
105 <div class="text">
106 <h1>Credits</h1>
107 <div id="credits">
108 <ul>
109 <li>
110 Christian Huettig for the
111 <a href="http://gnuplot.respawned.com/">Javascript port</a>
112 of Gnuplot 4.6.3.
113 </li>
114 <li>
115 The
116 <a href="https://github.com/kripken/emscripten">Emscripten compiler</a>
117 that made the port possible.
118 </li>
119 <li>
120 The <a href="http://www.gnuplot.info/">Gnuplot project</a>.
121 </li>
122 <li>
123 The <a href="https://developers.google.com/v8/">V8 project</a>.
124 </li>
125 </ul>
126 </div>
127 </div>
128
129 </div>
130 </body>
131 </html>
OLDNEW
« no previous file with comments | « tools/profviz/profviz.css ('k') | tools/profviz/profviz.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698