You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benchmark for the `libp2p-floodsub` implementation.
5
+
6
+
This simple benchmark calculates the number of messages we are able to send from one peer to another.
7
+
8
+
## Testing
9
+
10
+
For running the benchmarks, it is required to install the dependencies of the `libp2p-floodsub`. With those installed, you only need to run the `index.js` file as follows:
11
+
12
+
```sh
13
+
$ npm install
14
+
$ cd benchmarks
15
+
$ node index.js
16
+
publish and receive x 781 ops/sec ±11.96% (64 runs sampled)
0 commit comments