-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(execute): refactor the operator profile to be in the statistics (#…
…4791) The operator profile is now always computed and it is part of the `flux.Statistics` struct that is returned by the query. The operator profile now uses that to return the profile instead of using Go channels and the execution dependency injected into the context. This allows the results of the operator profile to be present without it being tied directly to the profiler return. It has also been refactored to remove the use of channels for sending span data and aggregating in a goroutine to instead just aggregate the results as part of the source/transport code. This should simplify and speed up those calculations as the overall time should be equivalent but without the overhead of Go channels and only requiring a short-lived lock for appending the source profiles in the executor.
- Loading branch information
1 parent
6acd449
commit b66bfb9
Showing
8 changed files
with
220 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.