Skip to content

Instantly share code, notes, and snippets.

Last active Jan 25, 2018
What would you like to do?
Get the results of Node.js benchmark CI
#/usr/bin/env bash
# Saves CI results to bench-$JOBID.txt
# output of compare.R to bench-$JOBID-results.txt
wget$JOBID/consoleText -O bench-$JOBID.txt
grep 'improvement' -A 10000 bench-$JOBID.txt > bench-$JOBID-results.txt
head -n 1 bench-$JOBID-results.txt > bench-$JOBID-significant.txt
grep '*' bench-$JOBID-results.txt >> bench-$JOBID-significant.txt
# Or if you don't want to save the results
# curl$JOBID/consoleText | grep 'improvement' -A 10000 | grep -E 'improvement|\*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment