Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix analyze-profile phase summary format
The current output of `bazel analyze-profile ...` is not properly formatted and looks like: ``` === PHASE SUMMARY INFORMATION === Total launch phase time 1.486 s 0.51% Total init phase time 0.422 s 0.15% Total target pattern evaluation phase time 6.203 s 2.15% Total interleaved loading-and-analysis phase time 100.341 s 34.71% Total preparation phase time 0.376 s 0.13% Total execution phase time 180.205 s 62.33% Total finish phase time 0.086 s 0.03% ------------------------------------------------ Total run time 289.121 s 100.00% ``` this fixes it to: ``` === PHASE SUMMARY INFORMATION === Total launch phase time 1.486 s 0.51% Total init phase time 0.422 s 0.15% Total target pattern evaluation phase time 6.203 s 2.15% Total interleaved loading-and-analysis phase time 100.341 s 34.71% Total preparation phase time 0.376 s 0.13% Total execution phase time 180.205 s 62.33% Total finish phase time 0.086 s 0.03% --------------------------------------------------------------------- Total run time 289.121 s 100.00% ``` Fixes bazelbuild#15888 Closes bazelbuild#15889. PiperOrigin-RevId: 462086875 Change-Id: I2be6829e4e1566d6db1322fc6c19b4345a552ed7
- Loading branch information