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
Fix benchmark ci (#5657)
Failed benchmark action: https://github.com/open-telemetry/opentelemetry-go/actions/runs/10168263116/job/28122471446 This is because of the OOM, as some of the benchmarks, like `BenchmarkSpanEnd`, require nearly 10 GiB in a live heap. Changes: - Increase the memory of the runner to 16 GiB. - Remove the timeout of this action, as this takes 22 minutes to complete on github public runner (https://github.com/XSAM/opentelemetry-go/actions/runs/10168013989/job/28121638433). The number of benchmarks could only increase in the future, so setting a hard limit seems not right. FYI, the resource of github runner for public repositories is also 4 cores 16 GiB. https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
This commit is contained in:
@@ -10,8 +10,7 @@ env:
|
||||
jobs:
|
||||
benchmark:
|
||||
name: Benchmarks
|
||||
runs-on: actuated-arm64-4cpu-4gb
|
||||
timeout-minutes: 15
|
||||
runs-on: actuated-arm64-4cpu-16gb
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
|
||||
Reference in New Issue
Block a user