import { Algorithm, BenchmarkData } from "../../types"; import { BenchmarkCharts } from "../benchmark/charts/BenchmarkCharts"; import { BenchmarkTable } from "../benchmark/table/BenchmarkTable"; type ChartData = Array<{ algorithm: string; compression_ratio: number; encode_speed: number; decode_speed: number; }>; interface AlgorithmContentProps { algorithm: Algorithm; benchmarkData: BenchmarkData | null; chartData: ChartData; } export const AlgorithmContent = ({ algorithm, benchmarkData, chartData, }: AlgorithmContentProps) => { return (
{algorithm.description}