File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
test/benchmarks/driver_bench/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,12 @@ export type MetricInfo = {
132132 info : {
133133 test_name : string ;
134134 args : Record < string , number > ;
135+ tags ?: string [ ]
135136 } ;
136137 metrics : Metric [ ] ;
137138} ;
138139
139- export function metrics ( test_name : string , result : number ) : MetricInfo {
140+ export function metrics ( test_name : string , result : number , tags ?: string [ ] ) : MetricInfo {
140141 return {
141142 info : {
142143 test_name,
@@ -147,7 +148,8 @@ export function metrics(test_name: string, result: number): MetricInfo {
147148 key ,
148149 typeof value === 'number' ? value : value ? 1 : 0
149150 ] )
150- )
151+ ) ,
152+ tags
151153 } ,
152154 metrics : [ { name : 'megabytes_per_second' , value : result } ]
153155 } as const ;
You can’t perform that action at this time.
0 commit comments