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

Add span report to local testing task #65

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

rbro112
Copy link
Contributor

@rbro112 rbro112 commented Sep 8, 2023

Adds span detection/support to the local debug run printer. Leverages perfetto under the hood (specifically the new PerfettoTrace API rolling out in 1.2.0 of benchmark) to run a perfetto trace across the method invocation allowing us to detect all spans from the target app.

Handles success, missing and warning states, examples below. Arbitrarily sets a variance warning for spans < 200ms.

Success
Screen Shot 2023-09-08 at 3 56 37 PM

Warning (< 200ms)
Screen Shot 2023-09-08 at 3 56 07 PM

Error (missing)
Screen Shot 2023-09-08 at 3 55 35 PM

Edge cases (multi span, one exists, one missing | startup test - no spans)
Screen Shot 2023-09-08 at 4 36 34 PM

Resolves ET-2039

Copy link
Contributor Author

rbro112 commented Sep 8, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@rbro112 rbro112 merged commit 858f71a into main Sep 8, 2023
4 checks passed
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