import type { PipelineStats } from "../types";
interface Props {
stats: PipelineStats;
}
export function StatsPanel({ stats }: Props) {
return (
Stats
{stats.total_chunks}
Total Chunks
{stats.processed}
Processed
{stats.throughput_mbps.toFixed(2)}
MB/s
{stats.elapsed.toFixed(2)}s
Elapsed
);
}