@@ -128,6 +128,9 @@ The benchmark command:
|
||||
- Run the benchmark on the target environment and database profile before deciding defaults:
|
||||
- `vctp -settings /path/to/vctp.yml -benchmark-aggregations -benchmark-runs 3`
|
||||
- Current local comparison snapshot (2026-04-20) is recorded in `phase-metrics-2026-04-20.md`.
|
||||
- Latest tuned Postgres snapshot (2026-04-21, `runs=3`) showed:
|
||||
- Daily window (`2026-04-21` to `2026-04-22` UTC): Go avg `2.261369712s` vs SQL avg `1m31.738727387s` (Go ~`40.57x` faster).
|
||||
- Monthly window (`2026-04-01` to `2026-05-01` UTC): Go avg `3.705308832s` vs SQL avg `3.065612298s` (SQL ~`1.21x` faster).
|
||||
- Default-path decision remains `settings.scheduled_aggregation_engine: go`.
|
||||
- Promote SQL only when representative production-scale **Postgres** runs show clear, repeatable wins.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user