Datadog.Trace.BenchmarkDotNet
2.61.0
Prefix Reserved
dotnet add package Datadog.Trace.BenchmarkDotNet --version 2.61.0
NuGet\Install-Package Datadog.Trace.BenchmarkDotNet -Version 2.61.0
<PackageReference Include="Datadog.Trace.BenchmarkDotNet" Version="2.61.0" />
<PackageVersion Include="Datadog.Trace.BenchmarkDotNet" Version="2.61.0" />
<PackageReference Include="Datadog.Trace.BenchmarkDotNet" />
paket add Datadog.Trace.BenchmarkDotNet --version 2.61.0
#r "nuget: Datadog.Trace.BenchmarkDotNet, 2.61.0"
#:package Datadog.Trace.BenchmarkDotNet@2.61.0
#addin nuget:?package=Datadog.Trace.BenchmarkDotNet&version=2.61.0
#tool nuget:?package=Datadog.Trace.BenchmarkDotNet&version=2.61.0
Datadog.Trace.BenchmarkDotNet NuGet package
This package contains the BenchmarkDotNet exporter and instrumentation for Datadog CI Visibility.
Compatibility
BenchmarkDotNet 0.13.2and above
Getting Started
- Add the
Datadog.Trace.BenchmarkDotNetNuGet package to your project, usingdotnet add package Datadog.Trace.BenchmarkDotNet, for example. - Configure your project to use the Datadog.Trace.BenchmarkDotNet exporter, as described below
- Configure your CI provider to report via the Datadog Agent or agentless, as described in the documentation
- Run the benchmark project and check results on Datadog CI Test Visibility.
Configure the project
There's two way to configure a benchmark project to use the Datadog's exporter:
By Attribute
Add the DatadogDiagnoser attribute to the benchmark class.
using BenchmarkDotNet.Attributes;
using Datadog.Trace.BenchmarkDotNet;
[DatadogDiagnoser]
[MemoryDiagnoser]
public class OperationBenchmark
{
[Benchmark]
public void Operation()
{
// ...
}
}
By Configuration
Use the WithDatadog() extension method on the current project configuration:
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using Datadog.Trace.BenchmarkDotNet;
var config = DefaultConfig.Instance
.WithDatadog();
BenchmarkRunner.Run<OperationBenchmark>(config);
Get in touch
If you have questions, feedback, or feature requests, reach our support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- BenchmarkDotNet (>= 0.13.2)
- Datadog.Trace (>= 2.61.0)
-
.NETFramework 4.6.1
- BenchmarkDotNet (>= 0.13.2)
- Datadog.Trace (>= 2.61.0)
-
.NETStandard 2.0
- BenchmarkDotNet (>= 0.13.2)
- Datadog.Trace (>= 2.61.0)
-
net6.0
- BenchmarkDotNet (>= 0.13.2)
- Datadog.Trace (>= 2.61.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Datadog.Trace.BenchmarkDotNet:
| Package | Downloads |
|---|---|
|
TimeItSharp.Common
Command execution time meter library |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.61.0 | 36,585 | 11/6/2024 |
| 2.60.0 | 233 | 10/24/2024 |
| 2.59.0 | 302 | 9/16/2024 |
| 2.58.0 | 221 | 9/2/2024 |
| 2.57.0 | 10,884 | 8/14/2024 |
| 2.56.0 | 244 | 7/25/2024 |
| 2.55.0 | 229 | 7/18/2024 |
| 2.54.0 | 236 | 7/9/2024 |
| 2.53.2 | 279 | 6/19/2024 |
| 2.53.1 | 266 | 6/17/2024 |
| 2.53.0 | 228 | 6/11/2024 |
| 2.52.0 | 242 | 5/23/2024 |
| 2.51.0 | 279 | 5/6/2024 |
| 2.50.0 | 280 | 4/17/2024 |
| 2.49.0 | 278 | 3/18/2024 |
| 2.48.0 | 265 | 2/29/2024 |
| 2.47.0 | 20,818 | 2/14/2024 |
| 2.46.0 | 266 | 1/24/2024 |
| 2.45.0 | 248 | 1/10/2024 |
| 2.44.0 | 403 | 12/19/2023 |
| 2.43.0 | 371 | 12/5/2023 |
| 2.42.0 | 359 | 11/21/2023 |
| 2.41.0 | 313 | 11/6/2023 |
| 2.40.0 | 220 | 10/16/2023 |
| 2.39.0 | 222 | 10/11/2023 |
| 2.38.0 | 262 | 9/20/2023 |
| 2.37.0 | 257 | 8/31/2023 |
| 2.36.0 | 265 | 8/23/2023 |
| 2.35.0 | 259 | 7/31/2023 |
| 2.34.0 | 269 | 7/25/2023 |
| 2.33.0 | 1,427 | 7/4/2023 |
| 2.32.0 | 292 | 6/20/2023 |
| 2.31.0 | 321 | 5/31/2023 |
| 2.30.0 | 310 | 5/5/2023 |
| 2.29.0 | 336 | 4/17/2023 |
| 2.28.0 | 344 | 4/12/2023 |
| 2.27.0 | 379 | 3/24/2023 |
| 2.26.0 | 381 | 3/9/2023 |
| 2.24.1 | 420 | 2/27/2023 |
| 2.24.0 | 414 | 2/24/2023 |
See release notes at https://github.com/DataDog/dd-trace-dotnet/releases.
Please note that Datadog does not support tracing (manual or automatic) in partial-trust environments.