#547 [API/Perf] analytics.py heavy PERCENTILE_CONT aggregation

closed high Created 2025-12-17 16:29 · Updated 2025-12-17 19:02

Description

Edit
File: api/blueprints/v1/analytics.py:520-535. Running p50, p95, p99 percentiles on potentially millions of rows is computationally expensive. FIX: Add index, use approximate percentiles, or pre-compute in background job.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...