1export interface BenchmarkResult {
2 dataset: string;
3 algorithm: string;
4 algorithm_version: string;
5 dataset_version: string;
6 system_version: string;
7 compression_ratio: number;
8 encode_time: number;
9 decode_time: number;
10 encode_mb_per_sec: number;
11 decode_mb_per_sec: number;
12 original_size: number;
13 compressed_size: number;
14 array_shape: number[];
15 array_dtype: string;
16 timestamp: number;
17}
19export interface Algorithm {
20 name: string;
21 description: string;
22 version: string;
23 tags: string[];
24 source_file?: string;
25}
27export interface Dataset {
28 name: string;
29 description: string;
30 version: string;
31 tags: string[];
32 source_file?: string;
33 data_url_npy?: string; // URL to download the dataset as .npy
34 data_url_raw?: string; // URL to download the raw dataset as .dat
35}
37export interface BenchmarkData {
38 results: BenchmarkResult[];
39 algorithms: Algorithm[];
40 datasets: Dataset[];
41}