Download next.js/turbopack/xtask/src/summarize_bench/data.rs from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/turbopack/xtask/src/summarize_bench/data.rs
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/turbopack/xtask/src/summarize_bench/data.rs
-
curl -L -o data.rs https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/turbopack/xtask/src/summarize_bench/data.rs
1.57 kB
| // copied from https://github.com/BurntSushi/critcmp/blob/master/src/data.rs | |
| use std::collections::BTreeMap; | |
| use serde::{Deserialize, Serialize}; | |
| pub struct BaseBenchmarks { | |
| pub name: String, | |
| pub benchmarks: BTreeMap<String, Benchmark>, | |
| } | |
| pub struct Benchmark { | |
| pub baseline: String, | |
| pub fullname: String, | |
| pub info: CBenchmark, | |
| pub estimates: CEstimates, | |
| } | |
| pub struct CBenchmark { | |
| pub group_id: String, | |
| pub function_id: Option<String>, | |
| pub value_str: Option<String>, | |
| pub throughput: Option<CThroughput>, | |
| pub full_id: String, | |
| pub directory_name: String, | |
| } | |
| pub struct CThroughput { | |
| pub bytes: Option<u64>, | |
| pub elements: Option<u64>, | |
| } | |
| pub struct CEstimates { | |
| pub mean: CStats, | |
| pub median: CStats, | |
| pub median_abs_dev: CStats, | |
| pub slope: Option<CStats>, | |
| pub std_dev: CStats, | |
| } | |
| pub struct CStats { | |
| pub confidence_interval: CConfidenceInterval, | |
| pub point_estimate: f64, | |
| pub standard_error: f64, | |
| } | |
| pub struct CConfidenceInterval { | |
| pub confidence_level: f64, | |
| pub lower_bound: f64, | |
| pub upper_bound: f64, | |
| } | |