-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Add Metadata inspection #2241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Metadata inspection #2241
Conversation
@lihaMSFT how |
@lihaMSFT as mentioned offline this approach would not work well with benchmarks that have dynamically created list of arguments: https://benchmarkdotnet.org/articles/samples/IntroArgumentsSource.html#sample-introargumentssource one of the alternatives would be to ask BDN to print the benchmarks tree: dotnet run -c Release -f net7.0 --filter * --list tree and parse the output:
|
Hi,
This PR adds a runtime agnostic way to read metadata in order to list benchmarks in a BenchmarkDotNet assembly. This allows us to get benchmark names from a .NET Core assembly in .NET Framework since System.Reflection is not available.