Skip to content

Reland "Dump benchmark flags in CI run" with fix - #13662

Merged
pzread merged 7 commits into
iree-org:mainfrom
pzread:bench-dump-flag
May 18, 2023
Merged

pzread merged 7 commits into
iree-org:mainfrom
pzread:bench-dump-flag

Conversation

@pzread

@pzread pzread commented May 17, 2023 •

Copy link
Copy Markdown
Contributor

Reland #13649 with fix

Side note: It has been a problem for me to manually test every case of the workflow since we have more and more conditional steps in the workflow... I probably need to read code more carefully, and I'm thinking about automated testing CI workflow.

Prototyped this giant workflow to e2e test 5 kinds of benchmark workflow scenarios: https://github.com/openxla/iree/actions/runs/5017532468 (passed). The code can be found on 6c7fc0d (which turns ci.yml into a reusable workflow and calls it with different parameters)

@pzread
pzread force-pushed the bench-dump-flag branch 7 times, most recently from ad5756c to 01110f9 Compare May 18, 2023 02:37
@pzread
pzread force-pushed the bench-dump-flag branch 2 times, most recently from a4bcedb to 41a2780 Compare May 18, 2023 03:02
@pzread
pzread force-pushed the bench-dump-flag branch from 41a2780 to e7e5501 Compare May 18, 2023 03:08
@pzread
pzread force-pushed the bench-dump-flag branch 2 times, most recently from b309e50 to fcc457c Compare May 18, 2023 15:06
@pzread pzread changed the title [WIP] Revert "Revert Dump benchmark flags in CI run" with fix Revert "Revert Dump benchmark flags in CI run" with fix May 18, 2023
@pzread
pzread force-pushed the bench-dump-flag branch from fcc457c to 82a7ea4 Compare May 18, 2023 15:11
@pzread
pzread marked this pull request as ready for review May 18, 2023 15:11
@pzread
pzread force-pushed the bench-dump-flag branch from 82a7ea4 to 9857151 Compare May 18, 2023 15:32
@GMNGeoffrey

Copy link
Copy Markdown
Member

Can you update the title to say "reland" instead. The double negative is verbose and confusing

@pzread pzread changed the title Revert "Revert Dump benchmark flags in CI run" with fix Reland "Dump benchmark flags in CI run" with fix May 18, 2023
Comment thread .github/workflows/ci.yml Resolved
@GMNGeoffrey

Copy link
Copy Markdown
Member

Regarding testing the CI, this again comes into my "CI optionality" ideas: #10042. I think we want setup to output the list of jobs to run instead of a binary "should-run".

@pzread
pzread force-pushed the bench-dump-flag branch 2 times, most recently from 10f4a2a to 09bce17 Compare May 18, 2023 18:33
@pzread pzread added the benchmarks:x86_64 Run default x86_64 benchmarks label May 18, 2023
@pzread
pzread force-pushed the bench-dump-flag branch from 09bce17 to 6c7fc0d Compare May 18, 2023 19:27
@pzread pzread removed the benchmarks:x86_64 Run default x86_64 benchmarks label May 18, 2023
This reverts commit 6c7fc0d.
@pzread pzread added the benchmarks:x86_64 Run default x86_64 benchmarks label May 18, 2023
@pzread
pzread requested a review from GMNGeoffrey May 18, 2023 19:29

```sh
# Get compile and run flags of benchmarks
gcloud storage cp -r "${E2E_TEST_ARTIFACTS_GCS_ARTIFACT_DIR}/benchmark-flag-dump.txt" /tmp/

@pzread pzread May 18, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was \${E2E_TEST_ARTIFACTS_DIR_URL?} to demonstrate how to use the variables above. But I found that it is much easier to use by just giving out with the URL.

@github-actions

Copy link
Copy Markdown

Abbreviated Benchmark Summary

@ commit 0c22927442f1309434a7236c8bfcd76e3d75d43b (vs. base f4e77e559b961541f2a01e5f1f808dcaa03d9afa)

No improved or regressed benchmarks 🏖️

No improved or regressed compilation metrics 🏖️

For more information:

Source Workflow Run

@pzread
pzread merged commit 2e78c10 into iree-org:main May 18, 2023
NatashaKnk pushed a commit to NatashaKnk/iree that referenced this pull request Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarks:x86_64 Run default x86_64 benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants