Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.x"

- name: Install mercurial
# hg is no longer preinstalled on the ubuntu-latest runner image
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends mercurial
hg --version

- name: Install dependencies
run: pip install -e .

Expand Down
10 changes: 8 additions & 2 deletions codespeed/tests/test_commits.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

hgdir = ''

# hg aborts on commit when ui.username is unset, which is the case on a CI
# runner with no ~/.hgrc, so supply one explicitly.
HG_USER = ['-u', 'Codespeed Tests <tests@example.com>']

def setUpModule():
global hgdir
hgdir = tempfile.TemporaryDirectory()
Expand All @@ -22,11 +26,13 @@ def setUpModule():
with open(readme, 'w') as hg_file:
hg_file.write('readme')
subprocess.check_call(['hg', 'add', readme], cwd=hgdir.name)
subprocess.check_call(['hg', 'commit', '-m', "first commit"], cwd=hgdir.name)
subprocess.check_call(['hg', 'commit', '-m', "first commit"] + HG_USER,
cwd=hgdir.name)
with open(file1, 'w') as hg_file:
hg_file.write('value = 10')
subprocess.check_call(['hg', 'add', file1], cwd=hgdir.name)
subprocess.check_call(['hg', 'commit', '-m', "second commit"], cwd=hgdir.name)
subprocess.check_call(['hg', 'commit', '-m', "second commit"] + HG_USER,
cwd=hgdir.name)

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

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

Expand Down
Loading