From c5ee85e5df73419602410f6d33d42940ff2ac1ef Mon Sep 17 00:00:00 2001 From: Wilson Mun <30316250+wmundev@users.noreply.github.com> Date: Sat, 24 Aug 2024 15:52:24 +1000 Subject: [PATCH] feat: remove dotnet 7 from performance test project --- .../Benchmarks/PhoneNumberFormatBenchmark.cs | 1 - .../Benchmarks/PhoneNumberParseBenchmark.cs | 1 - csharp/PhoneNumbers.PerformanceTest/README.md | 1 - 3 files changed, 3 deletions(-) diff --git a/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberFormatBenchmark.cs b/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberFormatBenchmark.cs index aea74400a..1ecbf7539 100644 --- a/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberFormatBenchmark.cs +++ b/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberFormatBenchmark.cs @@ -6,7 +6,6 @@ namespace PhoneNumbers.PerformanceTest.Benchmarks [MemoryDiagnoser] [SimpleJob(RuntimeMoniker.Net48)] [SimpleJob(RuntimeMoniker.Net60)] - [SimpleJob(RuntimeMoniker.Net70)] [SimpleJob(RuntimeMoniker.Net80)] public class PhoneNumberFormatBenchmark { diff --git a/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberParseBenchmark.cs b/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberParseBenchmark.cs index eebd9815c..2d03ee6ec 100644 --- a/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberParseBenchmark.cs +++ b/csharp/PhoneNumbers.PerformanceTest/Benchmarks/PhoneNumberParseBenchmark.cs @@ -6,7 +6,6 @@ namespace PhoneNumbers.PerformanceTest.Benchmarks [MemoryDiagnoser] [SimpleJob(RuntimeMoniker.Net48)] [SimpleJob(RuntimeMoniker.Net60)] - [SimpleJob(RuntimeMoniker.Net70)] [SimpleJob(RuntimeMoniker.Net80)] public class PhoneNumberParseBenchmark { diff --git a/csharp/PhoneNumbers.PerformanceTest/README.md b/csharp/PhoneNumbers.PerformanceTest/README.md index 8b9565aa6..9a524a1a5 100644 --- a/csharp/PhoneNumbers.PerformanceTest/README.md +++ b/csharp/PhoneNumbers.PerformanceTest/README.md @@ -7,7 +7,6 @@ Below you can see a sample of what the results might look like | Method | Job | Runtime | Mean | Error | StdDev | Gen0 | Allocated | |------------------ |------------------- |------------------- |---------:|----------:|----------:|-------:|----------:| | FormatPhoneNumber | .NET 6.0 | .NET 6.0 | 1.234 us | 0.0158 us | 0.0124 us | 0.0076 | 152 B | -| FormatPhoneNumber | .NET 7.0 | .NET 7.0 | 1.307 us | 0.0015 us | 0.0013 us | 0.0076 | 152 B | | FormatPhoneNumber | .NET 8.0 | .NET 8.0 | 1.141 us | 0.0080 us | 0.0071 us | 0.0076 | 152 B | | FormatPhoneNumber | .NET Framework 4.8 | .NET Framework 4.8 | 2.746 us | 0.0114 us | 0.0101 us | 0.1335 | 851 B |