`canbench` as a blackbox performance monitoring tool
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 21
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
In separate discussions with @frederikrothenberger and @jasonz-dfinity, there was the question of whether canbench supports benchmarking asynchronous methods. In these discussions, the idea we gravitated to was to create some kind of library support within canbench, where a developer can annotate a canister's endpoints, and then receive useful metrics/stats on the performance of these endpoints. These stats can be used in production for general performance monitoring, or in integration tests with PocketIC to benchmark async workflows.
cc @mbjorkqvist who had a similar request.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the canbench library and its existing benchmarking support to determine how endpoint annotations and asynchronous workflows could fit. Clarify the expected production metrics and PocketIC integration behavior with maintainers before implementing; done means async endpoint performance can be measured with useful statistics in both contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100