-- data_table_bench: schema inicial
-- Tabla bench_runs: persiste resultados de cada ejecucion del benchmark.
CREATE TABLE IF NOT EXISTS bench_runs (
    id           TEXT PRIMARY KEY,
    started_at   INTEGER NOT NULL,
    rows         INTEGER NOT NULL,
    scenario     TEXT NOT NULL,
    fps_p50      REAL NOT NULL,
    fps_p1       REAL NOT NULL,
    mem_rss_mb   REAL NOT NULL,
    cpu_pct      REAL NOT NULL,
    duration_s   REAL NOT NULL,
    commit_sha   TEXT NOT NULL DEFAULT '',
    summary_json TEXT NOT NULL DEFAULT '{}'
);
