mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix parser to include iterations.
PiperOrigin-RevId: 347038652
This commit is contained in:
committed by
gVisor bot
parent
af4afdc0e0
commit
3c673caf86
@@ -21,6 +21,7 @@ package bigquery
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -109,6 +110,12 @@ func NewBenchmark(name string, iters int) *Benchmark {
|
||||
return &Benchmark{
|
||||
Name: name,
|
||||
Metric: make([]*Metric, 0),
|
||||
Condition: []*Condition{
|
||||
{
|
||||
Name: "iterations",
|
||||
Value: strconv.Itoa(iters),
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user