Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- echo 'hash,time' >try.csv
- hashes=$(git log --format=format:%h --reverse v1.2.8^..FETCH_HEAD)
- for h in $hashes; do
- git reset --hard $h
- git show -s --format=format:%h >>try.csv
- make clean
- CFLAGS='-march=native -O3' ./configure --static --const
- make -s -j4
- for i in . . . ; do
- sleep 20
- t=$(command time -f '%e' ./minigzip64 -9 <linux-4.14.1.tar 2>&1 >/dev/null)
- echo -n ",$t" >>try.csv
- done
- echo >>try.csv
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement