Benchmarks
Closed this issue · 1 comments
davecameos commented
Hi
This repo looks very good. Thank you.
Where can I find the instructions to run the benchmark or specific versions?
Thanks
joseftw commented
Hello!
I've not published any instructions, will add it to the README asap.
Anyhow, it's quite easy.
- Clone the repository
cd jos.httpclient
dotnet build -c Release
dotnet run src/JOS.HttpClient.GitHubDummyApi -c Release
cd /src/JOS.HttpClient.Benchmark/bin/Release/netcore
dotnet JOS.HttpClient.Benchmark.dll
You can control how many items the Dummy API should return by changing this parameter:
https://github.com/joseftw/jos.httpclient/blob/develop/src/JOS.HttpClient.GitHubDummyApi/GitHubRepositoriesProvider.cs#L29