You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
91d2940b71
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) | action | patch | `v4.13.0` → `v4.13.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/5322) for more information. --- ### Release Notes <details> <summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary> ### [`v4.13.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.13.1) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.13.0...v4.13.1) ##### What's Changed - build(deps)!: update actions to Node.js 24 runtime by [@​shaanmajid](https://redirect.github.com/shaanmajid) in [#​201](https://redirect.github.com/CodSpeedHQ/action/pull/201) ##### New Contributors - [@​shaanmajid](https://redirect.github.com/shaanmajid) made their first contribution in [#​201](https://redirect.github.com/CodSpeedHQ/action/pull/201) **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.13.0...v4.13.1> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlNraXAgQ2hhbmdlbG9nIiwiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
name: Benchmark
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
env:
|
|
DEFAULT_GO_VERSION: "~1.26.0"
|
|
jobs:
|
|
# Related issue: https://github.com/CodSpeedHQ/codspeed-go/issues/51
|
|
sharding-benchmark:
|
|
name: Sharding benchmarks
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
shards: ${{ steps.sharding.outputs.shards }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- id: sharding
|
|
run: |
|
|
echo "shards=$(make print-sharded-benchmarks)" >> $GITHUB_OUTPUT
|
|
|
|
benchmark:
|
|
needs: sharding-benchmark
|
|
permissions:
|
|
contents: write # required for pushing to gh-pages branch
|
|
name: Benchmarks
|
|
runs-on: oracle-bare-metal-64cpu-1024gb-x86-64-ubuntu-24
|
|
strategy:
|
|
matrix:
|
|
shard: ${{ fromJson(needs.sharding-benchmark.outputs.shards) }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
|
with:
|
|
go-version: ${{ env.DEFAULT_GO_VERSION }}
|
|
check-latest: true
|
|
cache-dependency-path: "**/go.sum"
|
|
- name: Run the benchmarks
|
|
uses: CodSpeedHQ/action@db35df748deb45fdef0960669f57d627c1956c30 # v4.13.1
|
|
with:
|
|
mode: walltime
|
|
allow-empty: true
|
|
# CodSpeed overrides the default benchtime if we don't explicitly specify it.
|
|
# Having this would avoid running benchmark for more than 1 hour.
|
|
#
|
|
# The benchtime is adjusted to 500 ms to speed up the benchmark time.
|
|
# Per https://github.com/open-telemetry/community/issues/2331#issuecomment-2356403352
|
|
run: make benchmark/${{matrix.shard}} ARGS=-benchtime=500ms
|