github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/pyrobench-entrypoint.sh (about) 1 #!/bin/sh 2 3 start="$(date +%s%3N)" 4 echo "pyrobench start: $start" 5 6 ./pyrobench loadgen 7 8 end="$(date +%s%3N)" 9 echo "pyrobench end: $end" 10 11 echo "generating meta report" 12 ./pyrobench report meta > /tmp/report.md 13 14 echo "generating image report" 15 ./pyrobench report image --from="$start" --to="$end" >> /tmp/report.md 16 17 echo "generating table report" 18 ./pyrobench report table >> /tmp/report.md 19 20 cat /tmp/report.md 21 22 cat /tmp/report.md > "/report/pr-report.md"