summaryrefslogtreecommitdiff
path: root/timings
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-12-18 09:26:23 +0000
committerSteven Knight <knight@baldmt.com>2009-12-18 09:26:23 +0000
commit02a3d5e88270b93aae3ed36f64ddc036e06ff8bf (patch)
tree499ebea094a74c51a72c5820993be760e04a2639 /timings
parentea3efaf5c76922329aae72a0ae5613df7940f59a (diff)
downloadscons-02a3d5e88270b93aae3ed36f64ddc036e06ff8bf.tar.gz
Add config.js files to the timing configurations, and update graph.html
to use them to display configuration-specific info (right now just the title) for each graph's page.
Diffstat (limited to 'timings')
-rw-r--r--timings/CPPPATH/config.js3
-rw-r--r--timings/JTimer/config.js3
-rw-r--r--timings/graph.html22
-rw-r--r--timings/hundred/config.js3
4 files changed, 18 insertions, 13 deletions
diff --git a/timings/CPPPATH/config.js b/timings/CPPPATH/config.js
new file mode 100644
index 00000000..d5ddef38
--- /dev/null
+++ b/timings/CPPPATH/config.js
@@ -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
index 00000000..e1d8f100
--- /dev/null
+++ b/timings/JTimer/config.js
@@ -0,0 +1,3 @@
+var Config = {
+ 'title': "timings/JTimer",
+};
diff --git a/timings/graph.html b/timings/graph.html
index e418069d..180139c0 100644
--- a/timings/graph.html
+++ b/timings/graph.html
@@ -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
index 00000000..63de6dfa
--- /dev/null
+++ b/timings/hundred/config.js
@@ -0,0 +1,3 @@
+var Config = {
+ 'title': "timings/hundred",
+};