/ concept-collection / benchcompress
Sign in
concept-collection / benchcompress
benchcompress / web-ui / src / types.ts
40 lines · 847 BBlameHistoryRaw
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;
19export interface Algorithm {
20 name: string;
21 description: string;
22 version: string;
23 tags: string[];
24 source_file?: string;
27export interface Dataset {
28 name: string;
29 description: string;
30 version: string;
31 tags: string[];
32 source_file?: string;
33 data_url?: string; // URL to download the raw dataset
36export interface BenchmarkData {
37 results: BenchmarkResult[];
38 algorithms: Algorithm[];
39 datasets: Dataset[];
moveopenescclose