|
12 | 12 | 'pypy-c-jit': 'http://buildbot.pypy.org/bench_results/', |
13 | 13 | 'pypy-c': 'http://buildbot.pypy.org/bench_results_nojit/', |
14 | 14 | } |
15 | | -START_REV = 75572 |
| 15 | +START_REV = 79485 |
| 16 | +END_REV = 79485 |
16 | 17 | PROJECT = "PyPy" |
17 | 18 |
|
18 | 19 | for INTERP in RESULTS_URLS: |
|
27 | 28 | if len(e.childNodes): |
28 | 29 | filename = e.firstChild.toxml() |
29 | 30 | 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: |
31 | 33 | filelist.append(filename) |
32 | 34 | except urllib2.URLError, e: |
33 | 35 | response = "None" |
|
41 | 43 | sys.exit(1) |
42 | 44 | finally: |
43 | 45 | datasource.close() |
44 | | - |
| 46 | + |
45 | 47 | # read json result and save to speed.pypy.org |
46 | 48 | for filename in filelist: |
47 | 49 | print "Reading %s..." % filename |
|
56 | 58 | if result.has_key('options'): options = result['options'] |
57 | 59 |
|
58 | 60 | 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) |
62 | 64 | print "\nOK" |
0 commit comments