namespace GenerateLoadTestResults; public record QueryResultWrapper { public string LoadTestType { get; set; } public QueryResult ColdStart { get; set; } public QueryResult WarmStart { get; set; } public string AsMarkdownTableRow() => $"
Cold Start (ms)Warm Start (ms)
p50p90p99maxp50p90p99max
{LoadTestType}{ColdStart.P50}{ColdStart.P90}{ColdStart.P99}{ColdStart.Max}{WarmStart.P50}{WarmStart.P90}{WarmStart.P99}{WarmStart.Max}
"; } public record QueryResult { public string Count { get; set; } public string P50 { get; set; } public string P90 { get; set; } public string P99 { get; set; } public string Max { get; set; } }