dfinity / agent-rs

A collection of libraries and tools for building software around the Internet Computer, in Rust.
https://sdk.dfinity.org/
Apache License 2.0
124 stars 77 forks source link

feat: add criterion bench for RouteProvider implementations #580

Open nikolay-komarevskiy opened 3 months ago

nikolay-komarevskiy commented 3 months ago

Description

Add Rust criterion benchmarks for the three implementation of RouteProviders. Run the benchmarks with this command:


agent-rs/ic-agent $ cargo bench --bench perf_route_provider --features bench

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist: