Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Bound Go benchmark release gate

rcourtman6169f3cea512
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 9cacaa3b66..fa04f83933 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -118,11 +118,12 @@ jobs:
run: go test -race -timeout 25m ./...
- name: Go benchmarks
+ timeout-minutes: 20
env:
PULSE_DATA_DIR: /tmp/pulse-bench-data
run: |
set -o pipefail
- go test -bench=. -benchmem -count=5 -run=^$ -timeout=10m \
+ go test -bench=. -benchmem -count=5 -run=^$ -benchtime=100ms -timeout=5m \
./pkg/metrics/ \
./pkg/auth/ \
./internal/api/ \