Skip to content

Commit 98f2dce

Browse files
committed
Downgrade to jquery 1.3.2 because of jqplot bugs
1 parent f083a93 commit 98f2dce

6 files changed

Lines changed: 12 additions & 179 deletions

File tree

speedcenter/media/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ tbody.commits tr td.date, table.revision tr td.infofirst, div.author, span.note,
277277
font-size: 92%;
278278
color: #666666;
279279
}
280-
tbody.commits tr td.date { padding-top: 0.6em;}
280+
tbody.commits tr td.date { padding-top: 0.6em; }
281281

282282

283283
a#permalink { float: right; font-size: small; }

speedcenter/media/js/jquery-1.4.4.min.js

Lines changed: 0 additions & 167 deletions
This file was deleted.

speedcenter/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta http-equiv="content-type" content="text/html;charset=utf-8">
88
<link href="../media/css/main.css" rel="stylesheet" type="text/css">
99
<script type="text/javascript" src="../media/js/codespeed.js"></script>
10-
<script type="text/javascript" src="../media/js/jquery-1.4.4.min.js"></script>
10+
<script type="text/javascript" src="../media/js/jquery-1.3.2.min.js"></script>
1111
{% block script %}
1212
{% endblock %}
1313
</head>

tools/pypy/import_from_json.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
'pypy-c-jit': 'http://buildbot.pypy.org/bench_results/',
1313
'pypy-c': 'http://buildbot.pypy.org/bench_results_nojit/',
1414
}
15-
START_REV = 75572
15+
START_REV = 79485
16+
END_REV = 79485
1617
PROJECT = "PyPy"
1718

1819
for INTERP in RESULTS_URLS:
@@ -27,7 +28,8 @@
2728
if len(e.childNodes):
2829
filename = e.firstChild.toxml()
2930
if e.tagName == "a" and ".json" in filename:
30-
if int(filename.replace(".json", "")) >= START_REV:
31+
if int(filename.replace(".json", "")) >= START_REV and\
32+
int(filename.replace(".json", "")) <= END_REV:
3133
filelist.append(filename)
3234
except urllib2.URLError, e:
3335
response = "None"
@@ -41,7 +43,7 @@
4143
sys.exit(1)
4244
finally:
4345
datasource.close()
44-
46+
4547
# read json result and save to speed.pypy.org
4648
for filename in filelist:
4749
print "Reading %s..." % filename
@@ -56,7 +58,7 @@
5658
if result.has_key('options'): options = result['options']
5759

5860
host = 'tannit'
59-
saveresults.save(proj, revision, result['results'], options, interpreter, host)
60-
#if filename == filelist[len(filelist)-1]:
61-
#savecpython.save('cpython', '100', result['results'], options, 'cpython', host)
61+
#saveresults.save(proj, revision, result['results'], options, interpreter, host)
62+
if filename == filelist[len(filelist)-1]:
63+
savecpython.save('cpython', '100', result['results'], options, 'cpython', host)
6264
print "\nOK"

tools/pypy/savecpython.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,4 @@ def send(data):
6060
response += ' Error code: ' + str(e)
6161
print("Server (%s) response: %s\n" % (SPEEDURL, response))
6262
return 1
63-
print "saved correctly!\n"
6463
return 0

tools/pypy/saveresults.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import urllib, urllib2
77
from datetime import datetime
88

9-
SPEEDURL = 'http://127.0.0.1:8000/'
10-
#SPEEDURL = 'http://speed.pypy.org/'
9+
#SPEEDURL = 'http://127.0.0.1:8000/'
10+
SPEEDURL = 'http://speed.pypy.org/'
1111

1212
def save(project, revision, results, options, executable, environment, testing=False):
1313
testparams = []
@@ -63,5 +63,4 @@ def send(data):
6363
response += ' Error code: ' + str(e)
6464
print("Server (%s) response: %s\n" % (SPEEDURL, response))
6565
return 1
66-
print "saved correctly!\n"
6766
return 0

0 commit comments

Comments
 (0)