Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Try switch sockets to tokio #5762

@tomaka

Description

@tomaka

This has been on my TODO list ever since the switch to futures 0.3, and I had unfortunately totally forgotten about it.

While libp2p defaults to async-std because it "just works", tokio is presumably faster than async-std due to the fact that the reactor and executor are using the same threads.

This issue consists in briefly benchmarking the two and see if we see any difference in CPU usage.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions