From 6bf9b48ac3349630c96be8fe20e75089515af8e4 Mon Sep 17 00:00:00 2001 From: sokovykh-md Date: Sun, 19 Apr 2026 16:17:48 +0300 Subject: [PATCH] Add repeats aggregation to stabilize latency metrics --- example/pgcompare.yaml | 1 + example/report.html | 43 +++++++------ internal/pgcompare/bench.go | 80 ++++++++++++++++++++++++ internal/pgcompare/config.go | 7 +++ internal/pgcompare/config_test.go | 1 + internal/pgcompare/model.go | 1 + internal/pgcompare/templates/report.html | 5 +- main.go | 7 ++- 8 files changed, 122 insertions(+), 23 deletions(-) diff --git a/example/pgcompare.yaml b/example/pgcompare.yaml index 6b54e05..1802527 100644 --- a/example/pgcompare.yaml +++ b/example/pgcompare.yaml @@ -11,6 +11,7 @@ benchmark: warmup_iterations: 5 iterations: 1000 concurrency: 1 + repeats: 3 report: description: diff --git a/example/report.html b/example/report.html index b4c04dd..f4a0bc4 100644 --- a/example/report.html +++ b/example/report.html @@ -118,27 +118,27 @@