@@ -65,25 +65,6 @@ pub mod graph {
65
65
PercentRelative ,
66
66
}
67
67
68
- #[ derive( Debug , PartialEq , Clone , Serialize , Deserialize ) ]
69
- pub struct GraphData {
70
- pub commit : u16 ,
71
- pub absolute : f32 ,
72
- // Percent change from the first datapoint shown
73
- pub percent_first : f32 ,
74
- pub y : f32 ,
75
- pub x : u64 ,
76
- pub is_interpolated : bool ,
77
- }
78
-
79
- #[ derive( Debug , PartialEq , Clone , Serialize ) ]
80
- pub struct Response {
81
- pub benchmarks : HashMap < String , HashMap < String , Vec < ( String , Vec < GraphData > ) > > > ,
82
- pub max : HashMap < String , f32 > ,
83
- pub colors : Vec < String > ,
84
- pub commits : Vec < String > ,
85
- }
86
-
87
68
#[ derive( Debug , PartialEq , Clone , Serialize ) ]
88
69
pub struct Series {
89
70
// y-values
@@ -93,7 +74,7 @@ pub mod graph {
93
74
}
94
75
95
76
#[ derive( Debug , PartialEq , Clone , Serialize ) ]
96
- pub struct NewResponse {
77
+ pub struct Response {
97
78
// (UTC timestamp in seconds, sha)
98
79
pub commits : Vec < ( i64 , String ) > ,
99
80
pub benchmarks : HashMap < String , HashMap < database:: Profile , HashMap < String , Series > > > ,
0 commit comments