Skip to content

benchmarks

benchmarks #6985

Workflow file for this run

name: benchmarks
on: [pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: "1"
PY_COLORS: "1"
jobs:
bench:
name: run benchmarks
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: uv pip install '.[dev]' --system
- run: curl -O https://image-net.org/data/bboxes_annotations.tar.gz
- run: tar zxvf bboxes_annotations.tar.gz
- run: rm ./*.tar.gz
shell: bash
- run: /bin/time -v dvc add Annotations/
- run: cat ./*.dvc
shell: bash