Last active
January 25, 2018 18:32
-
-
Save joyeecheung/b55c88ee465d552d7ed1dc34e67305ea to your computer and use it in GitHub Desktop.
Get the results of Node.js benchmark CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
# Saves CI results to bench-$JOBID.txt | |
# output of compare.R to bench-$JOBID-results.txt | |
JOBID=$1 | |
wget https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/$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 https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/$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