Comment Comment by abuckenheimer > python3 -c 'while (1): print (1, end="")' | pv > /dev/nullpython actually buffers its writes with print only flushing to stdout occasionally, you may want to try: python3 -c 'while (1): print (1, end="", flush=True)' | pv > /dev/null which I find goes much slower (550Kib/s) parent abuckenheimer 4 years ago
python actually buffers its writes with print only flushing to stdout occasionally, you may want to try:
which I find goes much slower (550Kib/s)