Hacker News new | ask | show | jobs
by cowsaymoo 661 days ago
What is the library used to profile the program?
1 comments

pv

https://linux.die.net/man/1/pv

it is in the pipe command `... | pv > /dev/null`

`pv --discard` is faster by 8% (on my system).

  % pv </dev/zero >/dev/null
  54.0GiB/s

  % pv </dev/zero --discard
  58.7GiB/s
Which is suspiciously close to the speed of DDR4.