KEMBAR78
add capture-profile into profile plugin by qqfish · Pull Request #1894 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@qqfish
Copy link

@qqfish qqfish commented Feb 26, 2019

  • Motivation for features / changes
    Allow sending capture profile request via TB

  • Screenshots of UI changes
    image

@qqfish
Copy link
Author

qqfish commented Feb 26, 2019

Screenshot:
image

@qqfish qqfish force-pushed the fishx-capture-profile branch 4 times, most recently from f224d14 to 15ddbb5 Compare February 26, 2019 23:26
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting, didn't realize there is no way to stop and have to wait for that duration. Just curious, why?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separately, I am pondering the implication of using self.logdir here. Are profile data tagged with timestamp or anything? Would one be able to make any sense of the name when user profiles multiple times?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I think it is fine to block the thread since python server uses different multiple threads to handle request.
  2. Profile data are tagged with timestamp.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I did not realize this soon enough. I generally am scared of holding request open for at least a duration of the profile. Any thoughts on changing this contract so FE starts, polls (presumably with some status about the profile like memory usage), and stop?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it could be a future improvement. Created an issue #2013 to track it.

@qqfish qqfish force-pushed the fishx-capture-profile branch from de6cf12 to e9c47d2 Compare March 14, 2019 18:02
@stephanwlee stephanwlee merged commit d612afc into tensorflow:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants