dotnet / dotnet/crank

How to benchmark web application end points with specific rates, if possible?

Open
#494 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.1k
Forks
111
Avg merge
2d 21h
Merged PRs (30d)
3

Description

Hi @sebastienros
I am looking to benchmark different web application endpoints with specific rates, and those endpoints are invoking methods I am looking to benchmark.

Regarding the previous thread, [customizing requests per second](https://github.com/dotnet/crank/issues/489), it works perfectly well for benchmarking the whole application at different rates.

I am wondering if I can achieve something like calling "/users" at rate 5, "/products" at rate 100, and "/customers" at rate 10?

```
[Route("users")]
public User GetUsers()
{...}

[Route("products")]
public User GetProducts()
{...}

[Route("customers")]
public User GetCustomers()
{...}
```

Thank you in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.