Skip to content

chore(deps): bump numcodecs from 0.16.5 to 0.17.0 in the python-dependencies group across 1 directory #270

chore(deps): bump numcodecs from 0.16.5 to 0.17.0 in the python-dependencies group across 1 directory

chore(deps): bump numcodecs from 0.16.5 to 0.17.0 in the python-dependencies group across 1 directory #270

Workflow file for this run

name: CodSpeed Benchmarks
on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9am UTC
pull_request:
types: [labeled]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro
if: |
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'benchmark'))
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Install Hatch
uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60
with:
version: '1.16.5'
# No interpreter is set up in this job on purpose. Benchmarks are only comparable
# across runs if the interpreter underneath them does not move: adding a pinned
# Python here measured a uniform ~13% slowdown on every benchmark, because hatch
# then built the environment on that interpreter instead of the runner's own.
- name: Install just
uses: extractions/setup-crate@7577c1bdf2d95e6d65d532788f35ed79d4b1dda2 # v2.0.1
with:
repo: casey/just
version: 1.58.0
- name: Run the benchmarks
uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1
env:
ZARR_BENCHMARK_CLEAR_CACHE: '1'
with:
mode: walltime
run: HATCH_ENV=test.py3.12-minimal just benchmark-codspeed