profiler: increase the test bench duration
In very unlucky case, the deployment can be moved to another backend task
so that not all types get profiled in 150s, see
@@ -32,7 +32,7 @@ var (
service = flag.String("service", "", "service name")
serviceVersion = flag.String("service_version", "1.0.0", "service version")
mutexProfiling = flag.Bool("mutex_profiling", false, "enable mutex profiling")
- duration = flag.Int("duration", 150, "duration of the benchmark in seconds")
+ duration = flag.Int("duration", 200, "duration of the benchmark in seconds")
apiAddr = flag.String("api_address", "", "API address of the profiler (e.g. 'cloudprofiler.googleapis.com:443')")
projectID = flag.String("project_id", "", "cloud project ID")
)
