1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-07 21:37:04 +09:00
anytype-heart/docs/PerfTests.md
2024-02-12 14:02:28 +01:00

613 B

Perf tests

Test results

grafana/d/mHq4sS2Sk/middleware-perf-tests

Memory and cpu pprof is collected for each test run and stored in the build artifacts.

Run tests

https://github.com/anyproto/anytype-heart/actions/workflows/build.yml

Runner: self-hosted

Run perf test times: > 0

Run tests locally

cd cmd/perftester/
go run main.go <runs amount>

You'll get the artifacts locally.

You must have the prometheus key PROM_KEY and password PROM_PASSWORD in your environment variables or just comment sending metrics in grpc.go.

Perf tests schedule

Main branch every day at midnight