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

Side by Side Diff: dashboard/memory.html

Issue 171303002: Remove perf dashboards for security reasons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/perf
Patch Set: Created 6 years, 10 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 | « dashboard/coverage.html ('k') | dashboard/nacl-overview.html » ('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 <html>
2 <head>
3 <title>Chromium Memory Dashboard</title>
4 <script src="ui/js/common.js"></script>
5 <script language="javascript">
6 var perf_url = DirName(DirName(window.location.href));
7 function DisplayGraph(name, graph) {
8 document.write('<td><iframe scrolling="no" height="250" width="400" src= "' + perf_url);
9 document.write('/' + name + '/report.html?history=50');
10 var params = ParseParams();
11 if (typeof graph == 'undefined') {
12 if ('graph' in params) {
13 graph = escape(params.graph);
14 }
15 } else if (graph != null) {
16 document.write('&header=');
17 document.write(graph);
18 }
19 if (graph != null) {
20 document.write('&graph=');
21 document.write(graph);
22 }
23 document.write('&lookout=1"></iframe></td>');
24 }
25 </script>
26 </head>
27 <body>
28 <center>
29 <script language="javascript">
30 document.write('<h1><a href="' + window.location.pathname + '">'
31 + 'Chromium Memory Dashboard</a></h1>');
32 var params = ParseParams();
33 var builder_map = {
34 'Linux Memory': 'linux-release-memory',
35 'Mac Memory': 'mac-release-memory',
36 'XP Memory': 'xp-release-memory',
37 };
38 var test_map = {
39 'memory': 'Memory',
40 // 'TBD': 'TBD_test',
41 };
42 if ('builder' in params) {
43 builder_list = params.builder.split(',');
44 } else {
45 builder_list = Keys(builder_map);
46 }
47 if ('test' in params) {
48 test_list = params.test.split(',');
49 } else {
50 test_list = Keys(test_map);
51 }
52 function write_table() {
53 document.write('<table>');
54 document.write('<tr><th>&nbsp;</th>');
55 for (var bindex=0; bindex < builder_list.length; bindex++) {
56 builder = builder_list[bindex];
57 url = MakeURL({'builder':escape(builder)});
58 document.write('<th align="center"><a href="' + url + '">'
59 + escape(builder).replace('%20', ' ') + '</a></th>');
60 }
61 document.write('</tr>');
62 for (var tindex=0; tindex < test_list.length; tindex++) {
63 test = escape(test_list[tindex]);
64 test_name = test_map[test];
65 document.write('<tr>');
66 url = MakeURL({'test':test});
67 document.write('<th valign="center"><a href="' + url + '">'
68 + test + '</a></th>');
69 for (var bindex=0; bindex < builder_list.length; bindex++) {
70 builder = builder_list[bindex];
71 builder_id = builder_map[builder];
72 if (1) { // TODO(sgk): replace with real test
73 DisplayGraph(builder_id + '/' + test);
74 } else {
75 msg = test_name + ' is not built on ' + builder_id;
76 document.write('<td align="center" valign="center">'
77 + msg + '</td>');
78 }
79 }
80 document.write('</tr>');
81 }
82 }
83 write_table();
84 </script>
85 </center>
86 </body>
87 </html>
OLDNEW
« no previous file with comments | « dashboard/coverage.html ('k') | dashboard/nacl-overview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698