ipfs / ipfs/js-ipfs-bitswap

performance tests: define a baseline

Open
#173 4 comments 0 reactions 0 assignees View on GitHub
status/ready
Dominant language
TypeScript
Stars
75
Forks
43
PR merge metrics
No merged PRs in 30d

Description

I think we should define some performance requirements for bitswap (like, for example: "for 10 bitswaps exchanging 1000 blocks between themselves, they must execute this in X seconds or less"), and then apply these to the already existing `test/benchmarks`.

This is almost done (`test/benchmarks` already can be parametrised to spawn a network of x nodes exchanging y blocks), so I think this is just a matter of defining the baseline to:

a) prevent performance regressions
b) incorporate improvements

@VictorBjelkholm @vmx Thoughts on this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.