#!/bin/bash set -eu set -x set -o pipefail ( gpp_standard_time=$(./g++-t) printf '%f %-20s\n' '1.000' "g++-t" # p2m-rust-t \ # p2m-go-t # p2m-cpp-t for thing in \ clang++-t \ cython3-t \ cython3_types_t \ cpython3-t \ cpython3+numba-object-t \ cpython3+numba-nopython-t \ pypy3-t \ nuitka3-t.bin do time_for_comparison=$(./$thing) printf '%f %-20s\n' "$( (echo scale=3; echo "$time_for_comparison" / "$gpp_standard_time") | bc)" "$thing" done ) | sort -n