Skip to content
Snippets Groups Projects
Commit 19cce591 authored by Jan Tattermusch's avatar Jan Tattermusch Committed by GitHub
Browse files

Merge pull request #6985 from dgquintas/fix_performance_jenkins

slightly fancier output for jenkins profiling
parents 311c74ec 9d393a5d
No related branches found
No related tags found
No related merge requests found
...@@ -96,10 +96,11 @@ fi ...@@ -96,10 +96,11 @@ fi
make CONFIG=basicprof -j$CPUS qps_json_driver make CONFIG=basicprof -j$CPUS qps_json_driver
mkdir -p reports mkdir -p reports
echo '<html><head></head><body>' > reports/index.html
bins/basicprof/qps_json_driver --scenarios_json="$SCENARIOS_JSON_ARG" 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 \ $PYTHON tools/profiling/latency_profile/profile_analyzer.py \
--source=latency_trace.txt --fmt=simple >> reports/index.html --source=latency_trace.txt --fmt=simple >> reports/index.html
echo '</pre>' >> reports/index.html echo '</pre></p></body></html>' >> reports/index.html
echo '</body></html>' >> reports/index.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment