dotnet / dotnet/BenchmarkDotNet
Dynamic `OperationsPerInvoke`
Open
Area:Attributes
enhancement
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 1.1k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 11
Description
I load a list of strings externally as data for my benchmarks. My goal is to measure average time for me to process one string. Of course the data is loaded before benchmarking, but since it happens at runtime, I cannot supply `OperationsPerInvoke` attribute param to `BenchmarkAttribute`, which requires compile-time constant. Is there a way around?
Contributor guide
Assessment
This issue has not been assessed yet.