Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up Trace Statistics view calculation (#1941)
## Which problem is this PR solving? - Resolves #1925 ## Description of the changes - Speed up Trace Statistics view calculation. Now we precompute child spans for each span to calculate statistics. Previously we filtered all spans to find children for each span. ## How was this change tested? - Existing tests. Ran manually on a large trace. ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Maksim Gaponov <gaponovmaxev@gmail.com> Signed-off-by: Maksim <gaponovmaxev@gmail.com> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Yuri Shkuro <github@ysh.us>
- Loading branch information