js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

perf: Add component level performance benchmarks per PR

Open maschad opened this issue 2 years ago • 1 comments

As discussed in pl-strflt.notion.site/js-libp2p-perf-benchmarking-f7c42f96cbd44799a321347f6c15c8d4?pvs=4

In order to detect performance regressions at the component level, it may be useful to run component level benchmarks per PR. We've seen scenarios where mplex is more performant than yamux, despite mplex being deprecated. We could leverage the existing perf implementation and a Github action to create a comment such as this one https://github.com/ChainSafe/lodestar/pull/6004#issuecomment-1737257011

maschad avatar Oct 03 '23 23:10 maschad

Add similar benchmarking that lodestar has but at the component level.

dhuseby avatar May 14 '24 15:05 dhuseby