Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chronos: Some fixes. #12995

Merged
merged 2 commits into from
Jan 31, 2025
Merged

chronos: Some fixes. #12995

merged 2 commits into from
Jan 31, 2025

Conversation

oliverchang
Copy link
Collaborator

  • Improve logging to make it easier to derive log-based metrics on GCP.
  • Compare compile times between replay and ccache and pick the better one.

oliverchang and others added 2 commits January 31, 2025 13:58
- Improve logging to make it easier to derive log-based metrics on GCP.
- Compare compile times between replay and ccache and pick the better
  one.
@oliverchang oliverchang requested a review from DonggeLiu January 31, 2025 03:00
@oliverchang
Copy link
Collaborator Author

/gcbrun skip


echo "Ccache compile time: ${A_TIME}"
if [[ -z "${REPLAY_WORKED}" || ${R_TIME} -gt ${A_TIME} ]]; then
if [ ${R_TIME} -gt ${A_TIME} ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it a typo to check ${R_TIME} -gt ${A_TIME} twice?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wanted to log this specific case, which is why I'm repeating it here.

@oliverchang oliverchang merged commit 8fb8fe3 into master Jan 31, 2025
19 checks passed
@oliverchang oliverchang deleted the cache-fixes branch January 31, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants