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 createipfs.rrdand add measurements to it periodically. - Run
ipfs get -o data <hash>in the same directory to download a large file. - Run
ipfs-graphto generateipfs.pngfromipfs.rrd.