Loading ui/metrics/metrics_proto/metrics.pb.go +573 −252 File changed.Preview size limit exceeded, changes collapsed. Show changes ui/metrics/metrics_proto/metrics.proto +35 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,9 @@ message MetricsBase { // Note that not all changed environment variables result in analysis retriggering. // If there was no previous build, this list will be empty. repeated string changed_environment_variable = 34; // Metrics related to optimized builds. optional OptimizedBuildMetrics optimized_build_metrics = 35; } message BuildConfig { Loading Loading @@ -385,3 +388,35 @@ message JobInfo { // Description of a job optional string job_description = 2; } message OptimizedBuildMetrics { // The total time spent analyzing what/how to optimize everything. optional PerfInfo analysis_perf = 1; // The total time spent packaging artifacts. optional PerfInfo packaging_perf = 2; // Information for a single target (e.g. general-tests). repeated TargetOptimizationResult target_result = 3; message TargetOptimizationResult { // Target name (e.g. general-tests). optional string name = 1; // Whether or not this target was optimized. optional bool optimized = 2; // Reasoning for why the target wasn't optimized if it wasn't optional string optimization_rationale = 3; // Time spent packaging this specific target (if it was optimized). optional PerfInfo packaging_perf = 4; // Information for each different artifact produced by this target (if it // was optimized). repeated OutputArtifact output_artifact = 5; message OutputArtifact { // Artifact file name (e.g. general-tests.zip) optional string name = 1; // Size of the file. optional int64 size = 2; // Lists of modules packaged into this artifact. repeated string included_modules = 3; } } } Loading
ui/metrics/metrics_proto/metrics.pb.go +573 −252 File changed.Preview size limit exceeded, changes collapsed. Show changes
ui/metrics/metrics_proto/metrics.proto +35 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,9 @@ message MetricsBase { // Note that not all changed environment variables result in analysis retriggering. // If there was no previous build, this list will be empty. repeated string changed_environment_variable = 34; // Metrics related to optimized builds. optional OptimizedBuildMetrics optimized_build_metrics = 35; } message BuildConfig { Loading Loading @@ -385,3 +388,35 @@ message JobInfo { // Description of a job optional string job_description = 2; } message OptimizedBuildMetrics { // The total time spent analyzing what/how to optimize everything. optional PerfInfo analysis_perf = 1; // The total time spent packaging artifacts. optional PerfInfo packaging_perf = 2; // Information for a single target (e.g. general-tests). repeated TargetOptimizationResult target_result = 3; message TargetOptimizationResult { // Target name (e.g. general-tests). optional string name = 1; // Whether or not this target was optimized. optional bool optimized = 2; // Reasoning for why the target wasn't optimized if it wasn't optional string optimization_rationale = 3; // Time spent packaging this specific target (if it was optimized). optional PerfInfo packaging_perf = 4; // Information for each different artifact produced by this target (if it // was optimized). repeated OutputArtifact output_artifact = 5; message OutputArtifact { // Artifact file name (e.g. general-tests.zip) optional string name = 1; // Size of the file. optional int64 size = 2; // Lists of modules packaged into this artifact. repeated string included_modules = 3; } } }