3 ms·
catern@home ~ $ { timeout 1 sh -c 'while :; do /bin/echo foo; done'; echo; } | wc -l 1542 So at least sub-millisecond. And this is less efficient than poss
by catern 9y ago
catern@home ~ $ { timeout 1 sh -c 'while :; do /bin/echo foo; done'; echo; } | wc -l
1542
So at least sub-millisecond. And this is less efficient than possible because it's also writing to a pipe.
Also, I quite agree that CGI is a bad way to do things, but that's what the original post is proposing. :)