Skip to main content

BuildGraphMetrics.action_count

BuildGraphMetrics.action_count: int
How many actions belonged to the configured targets/aspects above. It may not be necessary to execute all of these actions to build the requested targets. May not be populated if analysis phase was fully cached.

BuildGraphMetrics.action_count_not_including_aspects

BuildGraphMetrics.action_count_not_including_aspects: int
How many actions belonged to configured targets: always at most action_count. Useful mainly for historical comparisons to ActionMetrics.actions_created, which used to not count aspects’ actions.

BuildGraphMetrics.action_lookup_value_count

BuildGraphMetrics.action_lookup_value_count: int
How many configured targets/aspects were in this build, including any that were analyzed on a prior build and are still valid. May not be populated if analysis phase was fully cached. Note: for historical reasons this includes input/output files and other configured targets that do not actually have associated actions.

BuildGraphMetrics.action_lookup_value_count_not_including_aspects

BuildGraphMetrics.action_lookup_value_count_not_including_aspects: int
How many configured targets alone were in this build: always at most action_lookup_value_count. Useful mainly for historical comparisons to TargetMetrics.targets_configured, which used to not count aspects. This also includes configured targets that do not have associated actions.

BuildGraphMetrics.aspect

BuildGraphMetrics.aspect: list[aspect_count]

BuildGraphMetrics.built_values

BuildGraphMetrics.built_values: list[evaluation_stat]
Number of SkyValues that were built. This means that they were evaluated and were found to have changed from their previous version.

BuildGraphMetrics.changed_values

BuildGraphMetrics.changed_values: list[evaluation_stat]
Number of SkyValues that changed by themselves. For example, when a file on the file system changes, the SkyValue representing it will change.

BuildGraphMetrics.cleaned_values

BuildGraphMetrics.cleaned_values: list[evaluation_stat]
Number of SkyValues that were evaluated and found clean, i.e. equal to their previous version.

BuildGraphMetrics.dirtied_values

BuildGraphMetrics.dirtied_values: list[evaluation_stat]
Number of SkyValues that were dirtied during the build. Dirtied nodes are those that transitively depend on a node that changed by itself (e.g. one representing a file in the file system)

BuildGraphMetrics.evaluated_values

BuildGraphMetrics.evaluated_values: list[evaluation_stat]
Number of evaluations to build SkyValues. This includes restarted evaluations, which means there can be multiple evaluations per built SkyValue. Subtract built_values from this number to get the number of restarted evaluations.

BuildGraphMetrics.input_file_configured_target_count

BuildGraphMetrics.input_file_configured_target_count: int
How many “input file” configured targets there were: one per source file. Should agree with artifact_metrics.source_artifacts_read.count above,

BuildGraphMetrics.other_configured_target_count

BuildGraphMetrics.other_configured_target_count: int
How many “other” configured targets there were (like alias, package_group, and other non-rule non-file configured targets).

BuildGraphMetrics.output_artifact_count

BuildGraphMetrics.output_artifact_count: int
How many artifacts are outputs of the above actions. May not be populated if analysis phase was fully cached.

BuildGraphMetrics.output_file_configured_target_count

BuildGraphMetrics.output_file_configured_target_count: int
How many “output file” configured targets there were: output files that are targets (not implicit outputs).

BuildGraphMetrics.post_invocation_skyframe_node_count

BuildGraphMetrics.post_invocation_skyframe_node_count: int
How many Skyframe nodes there are in memory at the end of the build. This may underestimate the number of nodes when running with memory-saving settings or with Skybuild, and may overestimate if there are nodes from prior evaluations still in the cache.

BuildGraphMetrics.rule_class

BuildGraphMetrics.rule_class: list[rule_class_count]