dotnet / dotnet/BenchmarkDotNet

The way to benchmark multithreaded actions.

Open
#147 24 comments 63 reactions 1 assignee Claimed by @AndreyAkinshin View on GitHub
Area:Engine enhancement
Dominant language
C#
Stars
11.5k
Forks
1.1k
Avg merge
6d 11h
Merged PRs (30d)
12

Description

Consider some object, which should hold a lot of concurrent operations at the same time.
There is the need to benchmark one operation from one thread (still having others working) to verify productivity during parallel load.
The problem is how to correctly hold that background threads still measuring one needed.

I see some ways, but none of them are completely possible now.
1. An ability to run benchmark methods in parallel, so every thread runs its own measuring still providing the needed concurrency.
2. Establish background in setup method. Unfortunatly, there is a need of "unsetup" method, where threads should be stopped.

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.