diff options
author | Steven Knight <knight@baldmt.com> | 2009-12-18 09:26:23 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-12-18 09:26:23 (GMT) |
commit | 56524ddacca7c595ce8c01f5569e51b3c897ad57 (patch) | |
tree | 499ebea094a74c51a72c5820993be760e04a2639 | |
parent | 66d0823dd960afe9cf45c910d2fcedea133c6fef (diff) | |
download | SCons-56524ddacca7c595ce8c01f5569e51b3c897ad57.zip SCons-56524ddacca7c595ce8c01f5569e51b3c897ad57.tar.gz SCons-56524ddacca7c595ce8c01f5569e51b3c897ad57.tar.bz2 |
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.
-rw-r--r-- | timings/CPPPATH/config.js | 3 | ||||
-rw-r--r-- | timings/JTimer/config.js | 3 | ||||
-rw-r--r-- | timings/graph.html | 22 | ||||
-rw-r--r-- | timings/hundred/config.js | 3 |
4 files changed, 18 insertions, 13 deletions
diff --git a/timings/CPPPATH/config.js b/timings/CPPPATH/config.js new file mode 100644 index 0000000..d5ddef3 --- /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 0000000..e1d8f10 --- /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 e418069..180139c 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 0000000..63de6df --- /dev/null +++ b/timings/hundred/config.js @@ -0,0 +1,3 @@ +var Config = { + 'title': "timings/hundred", +}; |