parca-dev / parca-agent

eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
https://parca.dev/
Apache License 2.0
536 stars 67 forks source link

ci: Add continuous benchmarking for the hot path #1210

Open kakkoyun opened 1 year ago

kakkoyun commented 1 year ago

It would be amazing to run benchmark tests continuously and compare them against the latest head of the main to catch the performance regressions as early as possible.

The first step would be to add all the necessary benchmark tests for the hot path. Then one of the following tools can be used

Namanl2001 commented 1 year ago

@kakkoyun I think this is a good issue for me to dive into the parca-agent codebase. WDYT?

can you help me with the hot paths, that needs the benchmark tests to be added?

kakkoyun commented 1 year ago

Go ahead, please. Basically, everything in profiling the CPU path would be nice to have. You can start small, though try to run existing benchmarks continuously for a given interval for example (e.g. once week)