Skip to content

Commit cccc33d

Browse files
authored
chore: show stats for targets.py (#10719)
This wraps the `targets.py` calls with GNU time to show some statistics about the command. We've found that the command runs much slower than expected and this should help us gather some data.
1 parent 24c5c2a commit cccc33d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ jobs:
188188
189189
# creates a list of targets suitable for --target_pattern_file and list
190190
# the targets on the step summary
191-
ci/scripts/targets.py build "${targets_args[@]}" >"${{ runner.temp }}/build-targets"
192-
ci/scripts/targets.py test "${targets_args[@]}" >"${{ runner.temp }}/test-targets"
191+
/usr/bin/time ci/scripts/targets.py build "${targets_args[@]}" >"${{ runner.temp }}/build-targets"
192+
/usr/bin/time ci/scripts/targets.py test "${targets_args[@]}" >"${{ runner.temp }}/test-targets"
193193
194194
- name: Upload target files
195195
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0

0 commit comments

Comments
 (0)