Skip to content

Hybrid core tracing rebased #718

Hybrid core tracing rebased

Hybrid core tracing rebased #718

Workflow file for this run

# Copyright 2010 New Relic, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: Benchmarks
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
# Benchmarks
benchmark:
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
env:
ASV_FACTOR: "1.1"
BASE_SHA: ${{ github.event.pull_request.base.sha }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
fetch-depth: 0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # 6.2.0
with:
python-version: "${{ matrix.python }}"
- name: Fetch git tags
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git fetch --tags origin
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install asv virtualenv
- name: Configure Machine Information
run: |
asv machine --yes
- name: Run Benchmark
run: |
asv continuous \
--show-stderr \
--split \
--factor "${ASV_FACTOR}" \
--python=${{ matrix.python }} \
"${BASE_SHA}" "${GITHUB_SHA}"