diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-06 17:11:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-06 17:11:40 +0100 |
commit | 582a9d0a6375109dd1e92fdcc43c5cd458db299a (patch) | |
tree | 62a4d50abbee5f83cd6c1f7dc2a9ccf4fa1ba41b /src | |
parent | preliminary optimisation (diff) | |
download | libkeccak-582a9d0a6375109dd1e92fdcc43c5cd458db299a.tar.gz libkeccak-582a9d0a6375109dd1e92fdcc43c5cd458db299a.tar.bz2 libkeccak-582a9d0a6375109dd1e92fdcc43c5cd458db299a.tar.xz |
improved optimisation
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/benchmark-flags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark-flags b/src/benchmark-flags index 9c8c4ba..840d04c 100755 --- a/src/benchmark-flags +++ b/src/benchmark-flags @@ -59,7 +59,7 @@ while true; do ! grep ^error .benchmarks >/dev/null 2>/dev/null - good_flag="$(sort -n < .benchmarks | cut -d ' ' -f 2 | sed 1q)" + good_flag="$(median < .benchmarks | sort -n | cut -d ' ' -f 2 | sed 1q)" if [ "${good_flag}" = zzz ] || [ $pass = 2 ]; then if [ $pass = 1 ]; then pass=2 |