opentelemetry-dotnet/test/Benchmarks
Michael Maxwell c261a67005
Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085)
2022-04-12 13:42:33 -07:00
..
Exporter Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Helper Fix analyzers (#3053) 2022-04-01 07:46:32 -07:00
Instrumentation Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Logs Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Metrics Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Trace Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Benchmarks.csproj Replace TestExporter by InMemoryExporter in MetricAPITest (#3150) 2022-04-08 06:56:06 -07:00
EventSourceBenchmarks.cs Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Program.cs Prometheus: Benchmarks + Performance Improvements (#2471) 2021-10-14 10:30:18 -07:00
README.md Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
TestExporter.cs Replace TestExporter by InMemoryExporter in MetricAPITest (#3150) 2022-04-08 06:56:06 -07:00

README.md

OpenTelemetry Benchmarks

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

dotnet run -c Release -f net6.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 net6.0 -- -f *TraceBenchmarks*