add a test plan that measures the RTT of libp2p handshakes #52
Labels
effort/days
Estimated to take multiple days, but less than a week
kind/enhancement
A net-new feature or improvement to an existing feature
P0
Critical: Tackled by core team ASAP
The test plan will test that the libp2p handshake completes in the expected number of roundtrips. For example:
This can easily extended to test that moving the security protocol into the multiaddr (libp2p/specs#353) saves another RTT.
The test plan will need to build on the cross-version test (or maybe the cross-implementation test). This will allow us to assert that while new go-libp2p versions make use of all the performance improvements and handshaking takes fewer RTTs, we're still remain backwards-compatible.
In the long term, this test will probably replace the ping test plan, as it tests strictly more than the ping test.
The text was updated successfully, but these errors were encountered: