Created
April 5, 2013 09:22
-
-
Save runejuhl/5317920 to your computer and use it in GitHub Desktop.
Timer testing for Buenos
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 | |
for i in `seq 1 10`; do make > /dev/null && yams buenos initprog=[disk]sleep | tail -n 3 | grep -v kHz| grep --color=never -oE '[0-9]+.[0-9]+' | python -c "import sys | |
lines = [x.strip() for x in sys.stdin.readlines()] | |
print str(float(lines[0])/float(lines[1])) + ' seconds'"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment