Merge pull request #6985 from dgquintas/fix_performance_jenkins

slightly fancier output for jenkins profiling
pull/6635/head
Jan Tattermusch 9 years ago committed by GitHub
commit 19cce5917d
  1. 9
      tools/profiling/latency_profile/run_latency_profile.sh

@ -96,10 +96,11 @@ fi
make CONFIG=basicprof -j$CPUS qps_json_driver
mkdir -p reports
echo '<html><head></head><body>' > reports/index.html
bins/basicprof/qps_json_driver --scenarios_json="$SCENARIOS_JSON_ARG"
echo '<pre>' >> reports/index.html
echo '<html><head></head><body>Latency profile for:<br/>' > reports/index.html
echo "<p><pre>${SCENARIOS_JSON_ARG}</pre></p>" >> reports/index.html
echo '<p><pre>' >> reports/index.html
$PYTHON tools/profiling/latency_profile/profile_analyzer.py \
--source=latency_trace.txt --fmt=simple >> reports/index.html
echo '</pre>' >> reports/index.html
echo '</body></html>' >> reports/index.html
echo '</pre></p></body></html>' >> reports/index.html

Loading…
Cancel
Save