Yeap, each time I need a complex shell script, actually Python is a better chose. I just don't need a POSIX compliant shell
/usr/bin/time -f "%e seconds" fish -i -c exit 0.21 seconds