---
name: DurationStats
lang: go
domain: datascience
version: "1.0.0"
algebraic: product
definition: |
  type DurationStats struct {
      N     int   `json:"n"`
      AvgMs int64 `json:"avg_ms"`
      P50Ms int64 `json:"p50_ms"`
      P90Ms int64 `json:"p90_ms"`
      P99Ms int64 `json:"p99_ms"`
  }
description: "Estadisticas descriptivas de un conjunto de duraciones expresadas en milisegundos: conteo, media y percentiles P50/P90/P99."
tags: [statistics, duration, percentile, metrics, int64]
uses_types: []
file_path: "functions/datascience/DurationStats.go"
source_repo: "https://github.com/egutierrez/fn_registry/apps/kanban"
source_license: "private"
source_file: "apps/kanban/backend/metrics.go"
---

## Notas

Extraido de `apps/kanban/backend/metrics.go:62-68`.
Producido por `DurationStatsFrom` (`duration_stats_go_datascience`).
El valor cero `DurationStats{}` indica un conjunto de duraciones vacio (N=0).
