Re:How fast are Linux pipes anyway?
by klohto on Thursday June 02, 2022 @09:27AM
(#31594596)
Python pushes 15MiB on my M1 Pro if you go down a level and use sys directly.
[ Parent
| on HN ]
That caches though. You can see it when you strace it.
python3 -u -c 'import sys
while (1): sys.stdout.write("1")'| pv>/dev/null
427KiB/s python3 -c 'import sys
while (1): sys.stdout.write("1")'| pv>/dev/null
6.08MiB/sUsing python 3.9.7 on macOS Monterey.