File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
frontend/src/pages/status_new Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ export type BenchmarkRequest = {
1414} ;
1515
1616export type BenchmarkJobStatus = "Queued" | "InProgress" | "Success" | "Failed" ;
17+ export type BenchmarkJobKind = "compiletime" | "runtimeInProgress" | "rustc" ;
1718
1819export type BenchmarkJob = {
1920 requestTag : string ;
21+ kind : BenchmarkJobKind ;
2022 target : string ;
2123 backend : string ;
2224 profile : string ;
Original file line number Diff line number Diff line change @@ -438,6 +438,7 @@ pub mod status_new {
438438 #[ serde( rename_all = "camelCase" ) ]
439439 pub struct BenchmarkJob {
440440 pub request_tag : String ,
441+ pub kind : String ,
441442 pub target : String ,
442443 pub backend : String ,
443444 pub profile : String ,
Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ fn job_to_ui(job: &BenchmarkJob) -> status_new::BenchmarkJob {
231231
232232 status_new:: BenchmarkJob {
233233 request_tag : job. request_tag ( ) . to_string ( ) ,
234+ kind : job. kind ( ) . to_string ( ) ,
234235 target : job. target ( ) . as_str ( ) . to_string ( ) ,
235236 backend : job. backend ( ) . as_str ( ) . to_string ( ) ,
236237 profile : job. profile ( ) . as_str ( ) . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments