Skip to content

Commit cf99cc1

Browse files
authored
Merge pull request #90 from mattip/about
mention hetzner sponsorship
2 parents b1447d6 + c9e5428 commit cf99cc1

3 files changed

Lines changed: 29 additions & 17 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v7
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v5
15+
uses: actions/setup-python@v7
1616
with:
1717
python-version: "3.x"
1818

19+
- name: Install mercurial
20+
# hg is no longer preinstalled on the ubuntu-latest runner image
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y --no-install-recommends mercurial
24+
hg --version
25+
1926
- name: Install dependencies
2027
run: pip install -e .
2128

‎codespeed/tests/test_commits.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
hgdir = ''
1414

15+
# hg aborts on commit when ui.username is unset, which is the case on a CI
16+
# runner with no ~/.hgrc, so supply one explicitly.
17+
HG_USER = ['-u', 'Codespeed Tests <tests@example.com>']
18+
1519
def setUpModule():
1620
global hgdir
1721
hgdir = tempfile.TemporaryDirectory()
@@ -22,11 +26,13 @@ def setUpModule():
2226
with open(readme, 'w') as hg_file:
2327
hg_file.write('readme')
2428
subprocess.check_call(['hg', 'add', readme], cwd=hgdir.name)
25-
subprocess.check_call(['hg', 'commit', '-m', "first commit"], cwd=hgdir.name)
29+
subprocess.check_call(['hg', 'commit', '-m', "first commit"] + HG_USER,
30+
cwd=hgdir.name)
2631
with open(file1, 'w') as hg_file:
2732
hg_file.write('value = 10')
2833
subprocess.check_call(['hg', 'add', file1], cwd=hgdir.name)
29-
subprocess.check_call(['hg', 'commit', '-m', "second commit"], cwd=hgdir.name)
34+
subprocess.check_call(['hg', 'commit', '-m', "second commit"] + HG_USER,
35+
cwd=hgdir.name)
3036

3137
def tearDownModule():
3238
hgdir.cleanup()

‎speed_pypy/templates/about.html‎

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@
66
<div id="about" class="about_content clearfix">
77
<h3>About this site</h3>
88
<p>We have nightly benchmark runs of PyPy, together with CPython data for
9-
comparison. The benchmarks have run since 2016 on a dedicated machine
9+
comparison. The benchmarks ran from 2016-2026 on a dedicated machine
1010
named <b>benchmarker</b>. Previously, we had other machines (<b>tannit</b> and
11-
briefly <b>speed-python</b>). The <b>benchmarker</b> machine is generously
12-
donated by <a href="https://baroquesoftware.com">Baroque Software</a>. The
13-
specs are:</p>
14-
<ul><li>Processor: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz with turbo enabled</li>
15-
<li>RAM: 64GB Micron DDR4 2400 MHz</li>
16-
<li>Disk: 4TB TOSHIBA MG04ACA4</li>
17-
</ul>
18-
<p>Benchmarks are also run on <b>benchmarker2</b>:</p>
19-
<ul><li>Processor: AMD Ryzen 5 3600 pinned to 3.60GHz, turnbo disabled</li>
20-
<li>RAM: 64GB</li>
11+
briefly <b>speed-python</b>). The <b>benchmarker</b> machine was generously
12+
donated by <a href="https://baroquesoftware.com">Baroque Software</a>. Since mid-2026
13+
the benchmarks are running on benchmarker2, which is a <a
14+
href=https://www.hetzner.com/dedicated-rootserver/ax41/">Hetzner AX41-NVMe</a>
15+
machine donated by Hetzner. The specs are:</p>
16+
<ul><li>Processor: AMD Ryzen™ 5 3600 CPU with turbo disabled</li>
17+
<li>RAM: 64GB Micron DDR4 MHz</li>
18+
<li>Disk: two 512 GB NVMe SSDs in RAID 0</li>
2119
<li>Benchmarking pinned with cpuset partitions to CPUs3,4,5 with SMT
22-
(hyper-threading) disabled </li>
20+
(hyper-threading) disabled, other machine operations are pinned to CPUs 1,2,3
21+
</li>
2322
</ul>
2423

2524
<h3>About the benchmarks</h3>
@@ -39,7 +38,7 @@ <h3>About Codespeed</h3>
3938
<a href="https://github.com/tobami/codespeed">Codespeed</a> is a web application
4039
to monitor and analyze the performance of your code.
4140
<p>The source code of this website can be found on the
42-
<a href="https://github.com/python/codespeed/tree/speed.pypy.org"><code>PyPy</code>
41+
<a href="https://github.com/python/codespeed/tree/speed.pypy.org"><code>speed.pypy.org</code>
4342
branch</a> of the Python fork of codespeed{% if commit %},
4443
currently at commit <a href="https://github.com/python/codespeed/commit/{{ commit }}"><code>{{ commit|slice:":12" }}</code></a>{% endif %}.</p>
4544

0 commit comments

Comments
 (0)