pipebench(1)

πŸ“¦
version 0.40 Β· 2 versions
  • 0.40 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.40 Β· fedora 43, fedora 44
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– pipebench(1) β€” the group-chat guide πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about the most underrated lil tool in your toolbox: pipebench. it lives in section 1 of the manual (the "user commands" section, iykyk) and it does exactly one thing and does it iconically β€” it measures how fast your data is vibing through stdin/stdout. that's it. that's the whole personality. and honestly? obsessed.


✨ NAME ✨

pipebench β€” shows speed of stdin/stdout communication πŸ’«


✨ SYNOPSIS ✨

pipebench [ -ehqQIoru ] [ -s file | -S file ] [ -b bufsize ]

look at her. short, sweet, all those lil single letters stacked together like a friendship bracelet. πŸŽ€


✨ DESCRIPTION ✨

it measures the speed of stdin/stdout communication. that's the entire description fr fr β€” she doesn't over-explain, she just benchmarks your pipes and lets the numbers speak for themselves. main character energy honestly. πŸ‘‘


✨ OPTIONS ✨

  • -h β€” shows a help message and then dips out. classic.
  • -e β€” if an error happens, it exits (which breaks the pipe between stdin and stdout πŸ’€). by default it's way more chill: it just prints an error message to stderr and keeps going.
  • -q β€” only show the summary stats. quiet lil queen. 🀫
  • -Q β€” don't show the running speed or the summary stats. literally the same as -q -o stacked together. this one's for when you just wanna play around with buffer size and not be perceived. πŸ™ˆ
  • -o β€” don't show the summary.
  • -b bufsize β€” use this buffer size, measured in bytes. you're the boss of the buffer now. πŸ’…
  • -r β€” just show raw speed, no fancy stuff. and no summary either. raw. unfiltered. no filter, no edits, no makeup. πŸ“Έ
  • -s file β€” write status to file instead of stderr.
  • -S file β€” write status to file instead of stderr. (yes, she has both. two sisters, same job. don't ask, just vibe. πŸ¦‹)
  • -I β€” use 1kB = 1000B, instead of the default 1024B. metric girlies rise up. 🌈
  • -u β€” don't convert to units (kilo, Mega, etc...). just give it to me in the raw numbers bestie, no glamour. ⭐

✨ EXAMPLES ✨

benchmark and show progress of your backup β€” this is THE use case, the moment, the slay:

# (cd /home/; tar cf - .) | pipebench | (cd /mnt/backup/; tar xf -)

a number to brag to your friends about β€” literally the whole point of benchmarking tbh:

$ dd if=/dev/zero bs=80k count=60k 2> /dev/null | pipebench -q > /dev/null

✨ BUGS ✨

no known bugs... yet. 😭

(the yet is doing so much heavy lifting there and i respect it)


✨ SEE ALSO ✨

dd(1), cat(1) β€” her two besties. the trio. the squad. 🫢


✨ AUTHOR ✨

pipebench was written by Thomas Habets <thomas@habets.pp.se> 🌸


okay that's the whole page, you're officially a pipebench girlie now, go benchmark something and feel something. this was pipebench from 18th Apr, 2003 β€” yeah she's vintage, she's an icon, she's been measuring pipes since before some of us were born and she still ate. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ