You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wasp/benchspy/types.go
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,25 @@ type Storer interface {
12
12
Load() error
13
13
}
14
14
15
-
typeFetcherinterface {
15
+
typeDataFetcherinterface {
16
16
// Fetch populates the report with the data from the test
17
-
Fetch() error
17
+
FetchData(ctx context.Context) error
18
18
}
19
19
20
20
typeComparatorinterface {
21
21
// IsComparable checks whether both reports can be compared (e.g. test config is the same, app's resources are the same, queries or metrics used are the same, etc.), and an error if any difference is found
22
22
IsComparable(otherReportReporter) error
23
23
}
24
24
25
+
typeResourceFetcherinterface {
26
+
// FetchResources fetches the resources used by the AUT (e.g. CPU, memory, etc.)
0 commit comments