ROX-33627: Add benchmarks for alert manager by dashrews78 · Pull Request #19460 · stackrox/stackrox

@dashrews78 @claude

Add sql_integration benchmarks for mergeManyAlerts and AlertAndNotify
using real Postgres to measure protobuf deserialization cost and
allocation pressure. These provide a baseline for the two-phase fetch
optimization — results confirm merge dominates the pipeline (~80-90%
at 1000 previous alerts) with ~30 allocs per previous alert.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@dashrews78 @claude

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

ajheflin

@dashrews78 dashrews78 deleted the dashrews/merge-alert-benchmark-33627 branch

March 18, 2026 16:17