Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.33 KB

ipfs-perfs

A web app to observe and challenge the IPFS network performances

Screen Shot 2020-02-28 at 15 43 03

Screen Shot 2020-02-28 at 16 35 51

Prerequisites

  • NodeJS > 12

Installation

$ git clone [email protected]:sebastiendan/ipfs-perfs.git
$ cd ipfs-perfs
$ npm install
$ npm run build && npm run start:prod

Usage

何これ?

ipfs-perfs leverages the Javascript IPFS client (js-ipfs) to test the performances of I/O operations over the IPFS network.

Starting the app (see Installation) spawns two concurrent IPFS local daemons (nodes) on your machine.

Starting a test through the UI (see Usage) will run the following synchronous sequence (it will iterate over it infinitely):

  • Generate a unique Buffer of the requested size
  • Make the first IPFS node add the Buffer to the network
  • Make the second IPFS node get the Buffer from the network
  • Capture execution times of both operations and plot them