Browse Source
Merge pull request #1794 from kunalspathak/arm64
Support executing benchmarks on arm64
pull/1800/head
Brian Popow
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
tests/ImageSharp.Benchmarks/Config.cs
-
tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj
|
|
|
@ -34,7 +34,7 @@ namespace SixLabors.ImageSharp.Benchmarks |
|
|
|
public MultiFramework() => this.AddJob( |
|
|
|
Job.Default.WithRuntime(ClrRuntime.Net472), |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core31), |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core50)); |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core50).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") })); |
|
|
|
} |
|
|
|
|
|
|
|
public class ShortMultiFramework : Config |
|
|
|
@ -42,7 +42,7 @@ namespace SixLabors.ImageSharp.Benchmarks |
|
|
|
public ShortMultiFramework() => this.AddJob( |
|
|
|
Job.Default.WithRuntime(ClrRuntime.Net472).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3), |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core31).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3), |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3)); |
|
|
|
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") })); |
|
|
|
} |
|
|
|
|
|
|
|
public class ShortCore31 : Config |
|
|
|
|
|
|
|
@ -6,6 +6,7 @@ |
|
|
|
<OutputType>Exe</OutputType> |
|
|
|
<RootNamespace>SixLabors.ImageSharp.Benchmarks</RootNamespace> |
|
|
|
<GenerateProgramFile>false</GenerateProgramFile> |
|
|
|
<DebugType>portable</DebugType> |
|
|
|
<!--Used to hide test project from dotnet test--> |
|
|
|
<IsTestProject>false</IsTestProject> |
|
|
|
<Configurations>Debug;Release;Debug-InnerLoop;Release-InnerLoop</Configurations> |
|
|
|
|