3 ms·
pv is written in perl so isn't the snappiest, I'm surprised to see it score so highly. I wonder what the initial speed would have been if it just wrote to /dev/
by anotherhue 4y ago
pv is written in perl so isn't the snappiest, I'm surprised to see it score so highly. I wonder what the initial speed would have been if it just wrote to /dev/null
- rostayob 4y agoIt's not written in perl, it's written in C, and it uses splice() (one of the syscalls discussed in the post).
- karamanolev 4y agoDefinitely C, per what appears to be the official repo (linking the splice syscall) - https://github.com/icetee/pv/blob/master/src/pv/transfer.c#L239 https://github.com/icetee/pv/blob/master/src/pv/transfer.c#L...
- anotherhue 4y agoI was totally wrong. Thank you for showing me the facts.
- merpkz 4y agoConfused with parallel, maybe?