/ipfs-benchmark

A quick and dirty pair of scripts to benchmark the bitswap overhead in IPFS

Primary LanguageShellOtherNOASSERTION

ipfs-benchmark

A quick and dirty pair of scripts to benchmark the bitswap overhead in IPFS.

  • Install go-ipfs, rrdtool, curl and jq.
  • Run ipfs daemon.
  • Change to a new temporary directory and run ipfs-collect. It will create ipfs.rrd and add measurements to it periodically.
  • Run ipfs get -o data <hash> in the same directory to download a large file.
  • Run ipfs-graph to generate ipfs.png from ipfs.rrd.