Commit 1c95ede2 authored by Brad Beam's avatar Brad Beam Committed by Miek Gieben

Fixing benchmark code block (#2141)

parent f9526742
...@@ -5,7 +5,7 @@ set -e +o pipefail ...@@ -5,7 +5,7 @@ set -e +o pipefail
if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
echo -e "NOTE: The CPU benchmarks are performed on Travis VMs and vary widly between runs," > .benchmark.body echo -e "NOTE: The CPU benchmarks are performed on Travis VMs and vary widly between runs," > .benchmark.body
echo -e " you can't trust them. The memory benchmarks are OK\n\n" >> .benchmark.body echo -e " you can't trust them. The memory benchmarks are OK\n\n" >> .benchmark.body
awk '/^benchmark old/ { printf "%s\n%s\n", "```", $0 }; awk '/^benchmark.*old/ { printf "%s\n%s\n", "```", $0 };
/^$/ { print "```" }; /^$/ { print "```" };
/^Bench/ { print $0 }; /^Bench/ { print $0 };
END{ print "```" }' .benchmark.log >> .benchmark.body END{ print "```" }' .benchmark.log >> .benchmark.body
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment