Skip to content

Commit

Permalink
Fix HTTP client benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Nowak authored and rynowak committed Jul 19, 2019
1 parent c89d414 commit 8f0f7fa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 41 deletions.
37 changes: 0 additions & 37 deletions src/HttpClientFactory/Http/perf/Configs/CoreConfig.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Microsoft.Extensions.Http.Performance
{
[ParameterizedJobConfig(typeof(CoreConfig))]
public class CreationOverheadBenchmark
{
private const int Iterations = 100;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Microsoft.Extensions.Http.Performance
{
[ParameterizedJobConfig(typeof(CoreConfig))]
public class LoggingOverheadBenchmark
{
private const int Iterations = 100;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.0;net461</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp3.0</TargetFrameworks>
<TargetFramework>netcoreapp3.0</TargetFramework>
<OutputType>Exe</OutputType>
<ServerGarbageCollection>true</ServerGarbageCollection>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
6 changes: 6 additions & 0 deletions src/HttpClientFactory/Http/perf/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using BenchmarkDotNet.Attributes;

[assembly: AspNetCoreBenchmark]

0 comments on commit 8f0f7fa

Please sign in to comment.