feat: show performance statistics in summary page (#743)

This commit is contained in:
Myriad-Dreamin 2024-10-29 11:16:59 +08:00 committed by GitHub
parent 15785f1deb
commit c798d3037e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 505 additions and 86 deletions

View file

@ -229,7 +229,7 @@ mod polymorphic {
pub root: Option<PathBuf>,
pub font_paths: Vec<PathBuf>,
pub inputs: Dict,
pub estimated_memory_usage: HashMap<String, usize>,
pub stats: HashMap<String, String>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
@ -240,7 +240,7 @@ mod polymorphic {
ContextFreeUnique,
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, strum::IntoStaticStr)]
pub enum CompilerQueryRequest {
OnExport(OnExportRequest),
Hover(HoverRequest),