Change the span duration of a benchmark test to the mean duration. (#914)
This commit is contained in:
parent
d43c04c91d
commit
b19bea4751
|
@ -118,7 +118,7 @@ namespace Datadog.Trace.BenchmarkDotNet
|
|||
span.SetMetric("benchmark.statistics.p99", stats.Percentiles.Percentile(99));
|
||||
}
|
||||
|
||||
durationNanoseconds = stats.N * stats.Mean;
|
||||
durationNanoseconds = stats.Mean;
|
||||
}
|
||||
|
||||
if (report.Metrics != null)
|
||||
|
|
Loading…
Reference in New Issue