Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

feat: add benchmark #207

Merged
merged 1 commit into from
Aug 30, 2022
Merged

feat: add benchmark #207

merged 1 commit into from
Aug 30, 2022

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Aug 23, 2022

Motivation

  • Track the performance of libp2p-mplex

Description

  • Use @dapplion/benchmark module which is used in libp2p-gossipsub

Sample output
npm run benchmark

 benchmark mplex
    ✔ send and receive 1000 items                                          4237288 ops/s    236.0000 ns/op        -    4983194 runs    120 s

@mpetrunic mpetrunic merged commit 6bf491f into libp2p:master Aug 30, 2022
github-actions bot pushed a commit that referenced this pull request Aug 30, 2022
## [5.1.0](v5.0.0...v5.1.0) (2022-08-30)

### Features

* add benchmark ([#207](#207)) ([6bf491f](6bf491f))
@github-actions
Copy link

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants