Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastiendan/ipfs-perfs
🏃 Web tool to observe and challenge the performances of the IPFS network
https://github.com/sebastiendan/ipfs-perfs
ipfs js-ipfs
Last synced: 3 days ago
JSON representation
🏃 Web tool to observe and challenge the performances of the IPFS network
- Host: GitHub
- URL: https://github.com/sebastiendan/ipfs-perfs
- Owner: sebastiendan
- Created: 2020-03-04T09:11:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T21:41:31.000Z (almost 4 years ago)
- Last Synced: 2024-10-29T14:19:30.132Z (10 days ago)
- Topics: ipfs, js-ipfs
- Language: TypeScript
- Size: 961 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ipfs-perfs
A web app to observe and challenge the IPFS network performances
## 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
- Open http://localhost:3333 in your browser
- Select a buffer size
- Click on the `Start` button## 何これ?
`ipfs-perfs` leverages the Javascript IPFS client ([js-ipfs](https://github.com/ipfs/js-ipfs)) to test the performances of I/O operations over the IPFS network.
Starting the app (see [Installation](#installation)) spawns two concurrent IPFS local daemons (nodes) on your machine.
Starting a test through the UI (see [Usage](#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