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
Export timeline-tracing API to Detox end-users #2531
Merged
Merged
Conversation
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
d4vidi
commented
Dec 14, 2020
@@ -1 +0,0 @@ | |||
[{"name":"process_name","pid":0,"tid":"2","ts":1000,"ph":"M","args":{"name":"detox"}},{"name":"thread_name","pid":0,"tid":"2","ts":1000,"ph":"M","args":{"name":"Worker #2"}},{"name":"detoxInit","pid":0,"tid":"2","ts":1100,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"2","ts":1200,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"2","ts":1300,"ph":"E","args":{"success":true}},{"name":"appUninstall","pid":0,"tid":"2","ts":1400,"ph":"B","args":{}},{"name":"appUninstall","pid":0,"tid":"2","ts":1500,"ph":"E","args":{"success":true}},{"name":"appInstall","pid":0,"tid":"2","ts":1600,"ph":"B","args":{}},{"name":"appInstall","pid":0,"tid":"2","ts":1700,"ph":"E","args":{"success":true}},{"name":"launchApp","pid":0,"tid":"2","ts":1800,"ph":"B","args":{}},{"name":"launchApp","pid":0,"tid":"2","ts":1900,"ph":"E","args":{"success":true}},{"name":"detoxInit","pid":0,"tid":"2","ts":2000,"ph":"E","args":{"success":true}},{"name":"StubDevice#2","pid":0,"tid":"2","ts":2100,"ph":"B","args":{}},{"name":"Stub2","pid":0,"tid":"2","ts":2200,"ph":"B","args":{}},{"name":"should have welcome screen","pid":0,"tid":"2","ts":2300,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":2400,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":2500,"ph":"E","args":{"success":true}},{"name":"should have welcome screen","pid":0,"tid":"2","ts":2600,"ph":"E","args":{"status":"passed"}},{"name":"should show hello screen after tap","pid":0,"tid":"2","ts":2700,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":2800,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":2900,"ph":"E","args":{"success":true}},{"name":"should show hello screen after tap","pid":0,"tid":"2","ts":3000,"ph":"E","args":{"status":"passed"}},{"name":"Stub2","pid":0,"tid":"2","ts":3100,"ph":"E","args":{}},{"name":"StubDevice#2","pid":0,"tid":"2","ts":3200,"ph":"E","args":{}},{"name":"process_name","pid":0,"tid":"1","ts":1000,"ph":"M","args":{"name":"detox"}},{"name":"thread_name","pid":0,"tid":"1","ts":1000,"ph":"M","args":{"name":"Worker #1"}},{"name":"detoxInit","pid":0,"tid":"1","ts":1100,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"1","ts":1200,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"1","ts":1300,"ph":"E","args":{"success":true}},{"name":"appUninstall","pid":0,"tid":"1","ts":1400,"ph":"B","args":{}},{"name":"appUninstall","pid":0,"tid":"1","ts":1500,"ph":"E","args":{"success":true}},{"name":"appInstall","pid":0,"tid":"1","ts":1600,"ph":"B","args":{}},{"name":"appInstall","pid":0,"tid":"1","ts":1700,"ph":"E","args":{"success":true}},{"name":"launchApp","pid":0,"tid":"1","ts":1800,"ph":"B","args":{}},{"name":"launchApp","pid":0,"tid":"1","ts":1900,"ph":"E","args":{"success":true}},{"name":"detoxInit","pid":0,"tid":"1","ts":2000,"ph":"E","args":{"success":true}},{"name":"StubDevice#1","pid":0,"tid":"1","ts":2100,"ph":"B","args":{}},{"name":"Stub3","pid":0,"tid":"1","ts":2200,"ph":"B","args":{}},{"name":"should have welcome screen","pid":0,"tid":"1","ts":2300,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":2400,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":2500,"ph":"E","args":{"success":true}},{"name":"should have welcome screen","pid":0,"tid":"1","ts":2600,"ph":"E","args":{"status":"passed"}},{"name":"should show hello screen after tap","pid":0,"tid":"1","ts":2700,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":2800,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":2900,"ph":"E","args":{"success":true}},{"name":"should show hello screen after tap","pid":0,"tid":"1","ts":3000,"ph":"E","args":{"status":"passed"}},{"name":"should show world screen after tap","pid":0,"tid":"1","ts":3100,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":3200,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"1","ts":3300,"ph":"E","args":{"success":true}},{"name":"should show world screen after tap","pid":0,"tid":"1","ts":3400,"ph":"E","args":{"status":"passed"}},{"name":"Stub3","pid":0,"tid":"1","ts":3500,"ph":"E","args":{}},{"name":"StubDevice#1","pid":0,"tid":"1","ts":3600,"ph":"E","args":{}},{"name":"process_name","pid":0,"tid":"2","ts":3300,"ph":"M","args":{"name":"detox"}},{"name":"thread_name","pid":0,"tid":"2","ts":3300,"ph":"M","args":{"name":"Worker #2"}},{"name":"detoxInit","pid":0,"tid":"2","ts":3400,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"2","ts":3500,"ph":"B","args":{}},{"name":"acquireDevice","pid":0,"tid":"2","ts":3600,"ph":"E","args":{"success":true}},{"name":"appUninstall","pid":0,"tid":"2","ts":3700,"ph":"B","args":{}},{"name":"appUninstall","pid":0,"tid":"2","ts":3800,"ph":"E","args":{"success":true}},{"name":"appInstall","pid":0,"tid":"2","ts":3900,"ph":"B","args":{}},{"name":"appInstall","pid":0,"tid":"2","ts":4000,"ph":"E","args":{"success":true}},{"name":"launchApp","pid":0,"tid":"2","ts":4100,"ph":"B","args":{}},{"name":"launchApp","pid":0,"tid":"2","ts":4200,"ph":"E","args":{"success":true}},{"name":"detoxInit","pid":0,"tid":"2","ts":4300,"ph":"E","args":{"success":true}},{"name":"StubDevice#2","pid":0,"tid":"2","ts":4400,"ph":"B","args":{}},{"name":"Stub1","pid":0,"tid":"2","ts":4500,"ph":"B","args":{}},{"name":"should have welcome screen","pid":0,"tid":"2","ts":4600,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":4700,"ph":"B","args":{}},{"name":"reloadRN","pid":0,"tid":"2","ts":4800,"ph":"E","args":{"success":true}},{"name":"should have welcome screen","pid":0,"tid":"2","ts":4900,"ph":"E","args":{"status":"failed"}},{"name":"Stub1","pid":0,"tid":"2","ts":5000,"ph":"E","args":{}},{"name":"StubDevice#2","pid":0,"tid":"2","ts":5100,"ph":"E","args":{}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops... it was never suppose to make it in, in the first place.
d4vidi
force-pushed
the
timeline-trace-export
branch
from
December 14, 2020 20:42
918ed23
to
e7ae7e1
Compare
d4vidi
force-pushed
the
timeline-trace-export
branch
from
December 14, 2020 20:47
e7ae7e1
to
b9c3905
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A follow-up on #2505 and #2522. Makes the internal
trace
andtraceCall
API's used by Detox itself, also available to Detox users via a documented API (explicitly specified as beta).