eclass/tests/eapi7-ver_benchmark: More readable average
authorMichał Górny <mgorny@gentoo.org>
Tue, 19 Sep 2017 13:13:04 +0000 (15:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 19 Sep 2017 13:15:09 +0000 (15:15 +0200)
eclass/tests/eapi7-ver_benchmark.sh

index 7e3c830fcb75cdac4e42aace25f080dbbc84648c..1de26444c9b3d562cb21ea4a5f90dae01f084ea4 100755 (executable)
@@ -100,7 +100,7 @@ get_times() {
                sum=$(dc -e "${!vr} + + + + 3 k 5 / p")
 
                vr="${v}[@]"
-               printf '%s %4.2f %4.2f %4.2f %4.2f %4.2f %4.2f\n' \
+               printf '%s %4.2f %4.2f %4.2f %4.2f %4.2f => %4.2f avg\n' \
                        "${v}" "${!vr}" "${sum}"
        done
 }