Q: How long does it roughly take to spawn a subprocess in bash? A: Around 1 millisecond
$ time for i in {0..1000} ; do $(echo "1") 2&>1 >/dev/null; done
real 0m0.890s
user 0m0.118s
sys 0m0.760s
$ time for i in {0..1000} ; do echo "1" 2&>1 >/dev/null; done
real 0m0.043s
user 0m0.015s
sys 0m0.028s
The answer on my system (M1 Pro, macOS 13.2, bash 5.2) seems to be around 0.85ms per subprocess.
I'd be curious what people find on different systems! Just run this and paste your output, mentioning your machine, OS and bash version.