MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / MemoryRow

Class MemoryRow

src/upload/benchmark_display.rs:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87#[derive(Tabled)]
88struct MemoryRow {
89 #[tabled(rename = "Benchmark")]
90 name: String,
91 #[tabled(rename = "Peak memory")]
92 peak_memory: String,
93 #[tabled(rename = "Total allocated")]
94 total_allocated: String,
95 #[tabled(rename = "Allocations")]
96 alloc_calls: String,
97}
98
99fn build_table_with_style<T: Tabled>(rows: &[T], instrument: &str, icon: Icon) -> String {
100 // Line after panel header: use ┬ to connect with columns below

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected