1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Files
opentelemetry-go/.github/workflows/benchmark.yml
T
renovate[bot] 0b82ded815 chore(deps): update codspeedhq/action action to v4.11.1 (#8001)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v4.11.0` → `v4.11.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.11.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.11.1)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.11.0...v4.11.1)

#### Release Notes

##### <!-- 1 -->🐛 Bug Fixes

- fix: stop using `curl --fail-with-body` and remove `jq` dependency by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;193](https://redirect.github.com/CodSpeedHQ/action/pull/193)

##### <!-- 7 -->⚙️ Internals

- chore: bump runner version to 4.11.1 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;191](https://redirect.github.com/CodSpeedHQ/action/pull/191)
- Pin all actions
([#&#8203;250](https://redirect.github.com/CodSpeedHQ/action/issues/250))
by [@&#8203;art049](https://redirect.github.com/art049) in
[#&#8203;250](https://redirect.github.com/CodSpeedHQ/runner/pull/250)
- Bump nix to 0.31.1
([#&#8203;247](https://redirect.github.com/CodSpeedHQ/action/issues/247))
by [@&#8203;3v1n0](https://redirect.github.com/3v1n0) in
[#&#8203;247](https://redirect.github.com/CodSpeedHQ/runner/pull/247)

#### Install codspeed-runner 4.11.1

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.11.1/codspeed-runner-installer.sh | sh
```

#### Download codspeed-runner 4.11.1

| File | Platform | Checksum |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------- |
-------------------------------------------------------------------------------------------------------------------------------------
|
|
[codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.1/codspeed-runner-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.1/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256)
|
|
[codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.1/codspeed-runner-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.1/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256)
|

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

**Full Changelog**:
<https://github.com/CodSpeedHQ/action/compare/v4.11.0...v4.11.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:eyJjcmVhdGVkSW5WZXIiOiI0My41Ni4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-05 16:22:12 -08:00

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-512gb-x86-64
strategy:
matrix:
shard: ${{ fromJson(needs.sharding-benchmark.outputs.shards) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}
check-latest: true
cache-dependency-path: "**/go.sum"
- name: Run the benchmarks
uses: CodSpeedHQ/action@281164b0f014a4e7badd2c02cecad9b595b70537 # v4.11.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