opentelemetry-dotnet/test/Benchmarks/README.md

450 B

OpenTelemetry Benchmarks

Navigate to ./test/Benchmarks directory and run the following command:

dotnet run -c Release -f net7.0 -- -m

How to use console arguments

  • -m enables MemoryDiagnoser and prints memory statistics
  • -f allows you to filter the benchmarks by their full name using glob patterns
    • dotnet run -c Release -f net7.0 -- -f *TraceBenchmarks*