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

What is "merged events" doing in the context of bazel #22330

Closed
Ryang20718 opened this issue May 11, 2024 · 1 comment
Closed

What is "merged events" doing in the context of bazel #22330

Ryang20718 opened this issue May 11, 2024 · 1 comment
Assignees
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged

Comments

@Ryang20718
Copy link

Page link:

No response

Problem description (include actual vs expected text, if applicable):

image

We have a couple of bazel test actions that are taking a lot time in the case of a cold disk ssd with the bazel test output actually stored in the remote cache.

i.e we're facing the following scenario

CI runner 1 spins up
CI runner 1 runs bazel test A with a remote cache, finished and caches the test result
CI runner 1 ran test B, didn't finish and got preempted.
CI runner 1 spins down

CI Runner 2 spins up
CI runner 2 runs test A and does some building, finishes and leverages the remote cache output for the test result, but still took 40-80s when running bazel test
CI runner 2 runs test B.......

Profiling the run above we see a lot of merged events what does this entail? Is there anyway to speed this portion up?
Is this the remote cache being slow?

Where do you see this issue? (include link to specific section of the page, if applicable)

We're not sure how to interpret this bazel performance trace

Any other information you'd like to share?

We're on bazel 6.5 with --remote_download_minimal. we'd like to know if this is an issue with our remote cache being slow or if this is the bazel server being slow or something else 🤔

@Ryang20718 Ryang20718 added team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged labels May 11, 2024
@Ryang20718 Ryang20718 changed the title Intrepretation of --profile & --generate_json_trace_profile What is "merged events" doing in the context of bazel May 11, 2024
@Ryang20718 Ryang20718 closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
@tjgq
Copy link
Contributor

tjgq commented May 11, 2024

Can you capture a profile with --noslim_profile so we can see what the merged events correspond to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged
Projects
None yet
Development

No branches or pull requests

5 participants