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 a breakdown of step time to overview page. #1683

Merged
merged 2 commits into from
Dec 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tensorboard/plugins/profile/overview_page/overview-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@
<paper-card heading="Performance Summary">
<div class="card-content">
<p><b>Average step time</b> (lower is better): <b><span class="steptime-average" >[[_steptime_ms_average]] ms</span> </b> <i style="opacity:0.7">(standard deviation = <span>[[_steptime_ms_stddev]]</span> ms)</i></p>
<ul hidden$=[[!_infeed_ms_average]]>
<li>Average infeed: <span>[[_infeed_ms_average]]</span> ms</li>
<li>Average compute: <span>[[_compute_ms_average]]</span> ms</li>
</ul>
<p><b>Host idle time</b> (lower is better): <span>[[_host_idle_time_percent]]</span></p>
<p><b>TPU idle time</b> (lower is better): <span>[[_device_idle_time_percent]]</p>
<p><b>Utilization of TPU Matrix Units</b> (higher is better): <span>[[_mxu_utilization_percent]]</span></p>
Expand Down Expand Up @@ -206,6 +210,8 @@
_mxu_utilization_percent: { type: String },
_steptime_ms_average: { type: String },
_steptime_ms_stddev: { type: String },
_infeed_ms_average: { type: String, value: '' },
_compute_ms_average: { type: String, value: '' },
_top_ops_heading: { type: String },
_error_message: { type: String },
_host_count: { type: String },
Expand Down Expand Up @@ -271,6 +277,10 @@
inputAnalysisJson.p['steptime_ms_average'];
this._steptime_ms_stddev =
inputAnalysisJson.p['steptime_ms_standard_deviation'];
this._infeed_ms_average =
inputAnalysisJson.p['compute_ms_average'];
this._compute_ms_average =
inputAnalysisJson.p['infeed_ms_average'];
},
/* Displays run time information */
_showRunEnvironment : function(runEnvironmentJson) {
Expand Down