Skip to content

Commit fecbde6

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into feature/excludes
# Conflicts: # Source/Tests/packages.config
2 parents c41cf49 + 8db3304 commit fecbde6

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Source/Tests/Exceptionless.Tests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
<ItemGroup>
4141
<Reference Include="BenchmarkDotNet, Version=0.9.4.0, Culture=neutral, processorArchitecture=MSIL">
4242
<HintPath>..\..\packages\BenchmarkDotNet.0.9.4\lib\net45\BenchmarkDotNet.dll</HintPath>
43+
<Reference Include="BenchmarkDotNet, Version=0.9.5.0, Culture=neutral, PublicKeyToken=aa0ca2f9092cefc4, processorArchitecture=MSIL">
44+
<HintPath>..\..\packages\BenchmarkDotNet.0.9.5\lib\net45\BenchmarkDotNet.dll</HintPath>
4345
<Private>True</Private>
4446
</Reference>
4547
<Reference Include="Exceptionless.RandomData, Version=1.0.22.0, Culture=neutral, processorArchitecture=MSIL">

Source/Tests/Plugins/DeduplicationBenchmarks.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Exceptionless.Plugins;
77
using Exceptionless.Plugins.Default;
88
using Exceptionless.Tests.Utility;
9-
using Xunit;
109

1110
namespace Exceptionless.Tests.Plugins {
1211
public class DeduplicationBenchmarks {

Source/Tests/Plugins/PluginTests.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -628,17 +628,15 @@ private Exception GetException(string message = "Test") {
628628
}
629629
}
630630

631-
[Fact(Skip = "Skip until benchmark.net is updated with the runtime fixes (0.9.5")]
631+
[Fact]
632632
public void RunBenchmark() {
633633
var summary = BenchmarkRunner.Run<DeduplicationBenchmarks>();
634634

635-
foreach (var benchmark in summary.Benchmarks) {
636-
var report = summary.Reports[benchmark];
637-
635+
foreach (var report in summary.Reports) {
638636
_writer.WriteLine(report.ToString());
639637

640638
var benchmarkMedianMilliseconds = report.ResultStatistics.Median / 1000000;
641-
_writer.WriteLine(String.Format("{0} - {1:0.00}ms", benchmark.ShortInfo, benchmarkMedianMilliseconds));
639+
_writer.WriteLine(String.Format("{0} - {1:0.00}ms", report.Benchmark.ShortInfo, benchmarkMedianMilliseconds));
642640
}
643641
}
644642

Source/Tests/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="BenchmarkDotNet" version="0.9.4" targetFramework="net452" />
3+
<package id="BenchmarkDotNet" version="0.9.5" targetFramework="net452" />
44
<package id="Exceptionless.RandomData" version="1.0.22.0" targetFramework="net452" />
55
<package id="Foundatio" version="4.0.958" targetFramework="net452" />
66
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net452" />

0 commit comments

Comments
 (0)