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
121 stars 75 forks source link

feat: add criterion bench for RouteProvider implementations #580

Open nikolay-komarevskiy opened 1 month ago

nikolay-komarevskiy commented 1 month 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: