Add config.js files to the timing configurations, and update graph.html
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 18 Dec 2009 09:26:23 +0000 (09:26 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 18 Dec 2009 09:26:23 +0000 (09:26 +0000)
to use them to display configuration-specific info (right now just
the title) for each graph's page.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4566 fdb21ef1-2011-0410-befe-b5e4ea1792b1

timings/CPPPATH/config.js [new file with mode: 0644]
timings/JTimer/config.js [new file with mode: 0644]
timings/graph.html
timings/hundred/config.js [new file with mode: 0644]

diff --git a/timings/CPPPATH/config.js b/timings/CPPPATH/config.js
new file mode 100644 (file)
index 0000000..d5ddef3
--- /dev/null
@@ -0,0 +1,3 @@
+var Config = {
+  'title': "timings/CPPPATH",
+};
diff --git a/timings/JTimer/config.js b/timings/JTimer/config.js
new file mode 100644 (file)
index 0000000..e1d8f10
--- /dev/null
@@ -0,0 +1,3 @@
+var Config = {
+  'title': "timings/JTimer",
+};
index e418069d6409c7d483f6690979caabc71bcf35ff..180139c06a0f6162d484fe7a6f13d523c4d3d18d 100644 (file)
@@ -91,16 +91,13 @@ div#selectors {
 <script src="js/common.js"></script>
 <script src="js/plotter.js"></script>
 <script src="js/coordinates.js"></script>
-<!-- <script src="config.js"></script> -->
+<script src="config.js"></script>
 <script>
-var Config = {
-  'title': "TODO title",
-  'source': "http://scons.tigris.org/svn/scons/trunk",
-  'changeLinkPrefix': "changelog.html?mode=html&range=",
-  'builder': "TODO ",
-  'builderLink': "http://buildbot.scons.org:8010/",
-  'detailTabs': ['view-change'],
-};
+Config.source = "http://scons.tigris.org/svn/scons/trunk";
+Config.changeLinkPrefix = "changelog.html?mode=html&range=";
+Config.builder = "TODO";
+Config.buildbotLink = "http://buildbot.scons.org:8010/";
+Config.detailTabs = ['view-change'];
 document.title = Config.title + ' - ' + Config.buildslave;
 
 var did_position_details = false;
@@ -352,12 +349,11 @@ window.addEventListener("load", init, false);
 </div>
 
 <div id="header_text">
-Builds generated by the <a href="http://buildbot.chromium.org/">buildbot</a>
-are run through <b>
 <script>
-document.write(Config.title);
+document.write('Timings for the <b>' + Config.title + '</b> configuration ' +
+               'generated by the ' +
+               '<a href="' + Config.buildbotLink + '">SCons buildbot</a>.');
 </script>
-</b>and the results of that test are charted here.
 </div>
 
 <div id="explain">
diff --git a/timings/hundred/config.js b/timings/hundred/config.js
new file mode 100644 (file)
index 0000000..63de6df
--- /dev/null
@@ -0,0 +1,3 @@
+var Config = {
+  'title': "timings/hundred",
+};