[pypy-svn] r71132 - pypy/build/bot2/jsplot/js

fijal at codespeak.net fijal at codespeak.net
Sat Feb 6 20:08:49 CET 2010


Author: fijal
Date: Sat Feb  6 20:08:47 2010
New Revision: 71132

Modified:
   pypy/build/bot2/jsplot/js/plot.js
Log:
A hack to allow displaying nonjit results. We might want further integration
at some point.


Modified: pypy/build/bot2/jsplot/js/plot.js
==============================================================================
--- pypy/build/bot2/jsplot/js/plot.js	(original)
+++ pypy/build/bot2/jsplot/js/plot.js	Sat Feb  6 20:08:47 2010
@@ -2,7 +2,11 @@
 var JSON_DIR_URL;
 var JSON_DIR_LIST;
 if (window.location.toString().indexOf('file:///') == -1) {
-    JSON_DIR_URL = "bench_results/";
+    if (window.location.toString().indexOf("nojit") == -1) {
+        JSON_DIR_URL = "bench_results/";
+    } else {
+        JSON_DIR_URL = "bench_results_nojit/";
+    }
     JSON_DIR_LIST = JSON_DIR_URL;
 } else {
     JSON_DIR_URL  = "test/data/";



More information about the Pypy-commit mailing list