Skip to content

Commit 18cb6c4

Browse files
authored
Merge pull request #15 from mattip/hg-hash
updates to codespeed for hg hash, pypy3.9, links on about page
2 parents 47bb049 + 8e851dd commit 18cb6c4

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

codespeed/results.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ def save_result(data, update_repo=True):
7979
# "None" (as string) can happen when we urlencode the POST data
8080
if not rev_date or rev_date in ["", "None"]:
8181
rev_date = datetime.today()
82-
rev = Revision(branch=branch, project=p, commitid=data['commitid'],
82+
# Only take the hash of a mercurial nnn:xxxhash commitid
83+
rev = Revision(branch=branch, project=p,
84+
commitid=data['commitid'].split(':')[-1],
8385
date=rev_date)
8486
try:
8587
rev.full_clean()

speed_pypy/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787

8888
SHOW_REPORTS = False
8989
SHOW_HISTORICAL = True
90-
DEF_BASELINE = {'executable': 'cpython', 'revision': '3.6.7'}
91-
DEF_EXECUTABLE = {'name': 'pypy3-jit-64', 'project': 'PyPy3.7'}
90+
DEF_BASELINE = {'executable': 'cpython', 'revision': '3.6.8'}
91+
DEF_EXECUTABLE = {'name': 'pypy3.9-jit-64', 'project': 'PyPy3.9'}
9292
DEF_ENVIRONMENT = 'benchmarker'
9393

9494

speed_pypy/templates/about.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,26 @@
55
</div>
66
<div id="about" class="about_content clearfix">
77
<h3>About this site</h3>
8-
<p>We have nightly benchmark runs of pypy, together with cpython 2.6.2 data for comparison.</p>
8+
<p>We have nightly benchmark runs of pypy, together with cpython data for comparison.</p>
99
<p>This site runs on top of Django and Codespeed</p>
1010
<h3>About the benchmarks</h3>
11-
<p>The code can be found <a href="https://bitbucket.org/pypy/benchmarks">here</a>.</p>
11+
<p>The benchmark code can be found <a
12+
href="https://foss.heptapod.net/pypy/benchmarks">here</a>.</p>
1213
<p>This is a benchmark suite based on Unladen Swallow, adapted for PyPY and
13-
runs on Python2. For a port of these benchmarks to Python3 see <a
14+
runs on Python2 and Python3. Also see <a
1415
href="https://speed.python.org">the python speed site</a></p>
1516
<h3>About PyPy</h3>
1617
<p>PyPy is a very compliant implementation of the Python language.</p>
17-
<p>Main website: <a href="http://www.pypy.org">pypy.org</a></p>
18+
<p>Main website: <a href="https://www.pypy.org">www.pypy.org</a></p>
1819

19-
<p>Blog: <a href="http://morepypy.blogspot.com/">morepypy.blogspot.com</a>
20+
<p>Blog: <a href="https://www.pypy.org/blog/">www.pypy.org/blog/</a>
2021
<h3>About Codespeed</h3>
2122
Codespeed is a web application to monitor and analyze the performance of your code.
22-
<p>Code: <a href="http://github.com/tobami/codespeed">github.com/tobami/codespeed</a></p>
23-
<p>Wiki: <a href="http://wiki.github.com/tobami/codespeed/">wiki.github.com/tobami/codespeed/</a></p>
23+
<p>Code: <a href="https://github.com/python/codespeed/tree/speed.pypy.org">PyPy branch of python fork of codespeed</a>
24+
<p>Wiki: <a href="https://wiki.github.com/tobami/codespeed/">wiki.github.com/tobami/codespeed/</a></p>
2425
<h3>Contact</h3>
2526
<p>For problems or suggestions about this website write to</p>
26-
<p>the <a href="http://codespeak.net/mailman/listinfo/pypy-dev">pypy-dev mailing list</a> or directly to Miquel Torres (tobami at googlemail dot com)</p>
27+
<p>the <a href="https://pypy.org/contact/">PyPy team</a> or directly to Miquel Torres (tobami at googlemail dot com)</p>
2728

2829
</div>
2930
{% endblock %}

0 commit comments

Comments
 (0)