Skip to content

Commit 78afa54

Browse files
authored
Merge pull request #28 from atmoos/ugradeReference
Ugrade reference
2 parents 0029ecf + d337815 commit 78afa54

5 files changed

Lines changed: 53 additions & 53 deletions

File tree

source/Atmoos.Sphere.Benchmark/Async/OrderByCompletionBenchmark.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,29 +56,29 @@ static async Task<T> Next(HashSet<Task<T>> set)
5656

5757
/* Summary
5858
59-
BenchmarkDotNet v0.15.2, Linux Arch Linux
60-
Intel Core i7-8565U CPU 1.80GHz (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
61-
.NET SDK 9.0.109
62-
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
63-
Job-CNUJVU : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
59+
BenchmarkDotNet v0.15.3, Linux Arch Linux
60+
Intel Core i7-8565U CPU 1.80GHz (Max: 0.40GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
61+
.NET SDK 9.0.110
62+
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
63+
Job-CNUJVU : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
6464
6565
InvocationCount=1 UnrollFactor=1
6666
6767
| Method | Count | Mean | Error | Ratio | Gen0 | Allocated | Alloc Ratio |
6868
|------------------------ |------ |-----------:|--------:|------:|----------:|----------:|------------:|
69-
| Unordered | 128 | 256.4 ms | 0.59 ms | 1.00 | - | 360 B | 0.01 |
70-
| OrderedByCompletion | 128 | 255.8 ms | 0.76 ms | 1.00 | - | 31512 B | 1.00 |
71-
| NaiveCompletionOrdering | 128 | 255.8 ms | 0.37 ms | 1.00 | - | 122568 B | 3.89 |
69+
| Unordered | 128 | 256.2 ms | 0.43 ms | 1.00 | - | 336 B | 0.01 |
70+
| OrderedByCompletion | 128 | 256.4 ms | 0.47 ms | 1.00 | - | 30848 B | 1.00 |
71+
| NaiveCompletionOrdering | 128 | 256.0 ms | 0.24 ms | 1.00 | - | 122568 B | 3.97 |
7272
| | | | | | | | |
73-
| Unordered | 256 | 512.3 ms | 0.89 ms | 1.00 | - | 336 B | 0.005 |
74-
| OrderedByCompletion | 256 | 512.1 ms | 0.63 ms | 1.00 | - | 61696 B | 1.000 |
75-
| NaiveCompletionOrdering | 256 | 512.1 ms | 0.76 ms | 1.00 | - | 362368 B | 5.873 |
73+
| Unordered | 256 | 512.1 ms | 0.67 ms | 1.00 | - | 336 B | 0.005 |
74+
| OrderedByCompletion | 256 | 512.3 ms | 0.55 ms | 1.00 | - | 61568 B | 1.000 |
75+
| NaiveCompletionOrdering | 256 | 512.1 ms | 0.57 ms | 1.00 | - | 380880 B | 6.186 |
7676
| | | | | | | | |
77-
| Unordered | 512 | 1,023.3 ms | 1.45 ms | 1.00 | - | 336 B | 0.003 |
78-
| OrderedByCompletion | 512 | 1,023.7 ms | 0.73 ms | 1.00 | - | 123136 B | 1.000 |
79-
| NaiveCompletionOrdering | 512 | 1,023.8 ms | 1.03 ms | 1.00 | - | 1247088 B | 10.128 |
77+
| Unordered | 512 | 1,023.0 ms | 1.17 ms | 1.00 | - | 336 B | 0.003 |
78+
| OrderedByCompletion | 512 | 1,023.4 ms | 0.99 ms | 1.00 | - | 123520 B | 1.000 |
79+
| NaiveCompletionOrdering | 512 | 1,023.1 ms | 0.95 ms | 1.00 | - | 1289800 B | 10.442 |
8080
| | | | | | | | |
81-
| Unordered | 1024 | 2,048.0 ms | 1.92 ms | 1.00 | - | 336 B | 0.001 |
82-
| OrderedByCompletion | 1024 | 2,047.0 ms | 3.71 ms | 1.00 | - | 246400 B | 1.000 |
83-
| NaiveCompletionOrdering | 1024 | 2,046.9 ms | 2.02 ms | 1.00 | 1000.0000 | 4679128 B | 18.990 |
81+
| Unordered | 1024 | 2,046.1 ms | 6.55 ms | 1.00 | - | 336 B | 0.001 |
82+
| OrderedByCompletion | 1024 | 2,046.1 ms | 6.37 ms | 1.00 | - | 246272 B | 1.000 |
83+
| NaiveCompletionOrdering | 1024 | 2,046.5 ms | 1.69 ms | 1.00 | 1000.0000 | 4743272 B | 19.260 |
8484
Summary */

source/Atmoos.Sphere.Benchmark/Sync/SynchronousAwaitBenchmark.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ public class SynchronousAwaitBenchmark
2121

2222
/* Summary
2323
24-
BenchmarkDotNet v0.15.2, Linux Arch Linux
25-
Intel Core i7-8565U CPU 1.80GHz (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
26-
.NET SDK 9.0.109
27-
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
28-
ShortRun : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
24+
BenchmarkDotNet v0.15.3, Linux Arch Linux
25+
Intel Core i7-8565U CPU 1.80GHz (Max: 0.40GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
26+
.NET SDK 9.0.110
27+
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
28+
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
2929
3030
Job=ShortRun IterationCount=9 LaunchCount=1
3131
WarmupCount=5
3232
3333
| Method | Mean | Error | Ratio | Allocated | Alloc Ratio |
3434
|-------------------- |---------:|---------:|------:|----------:|------------:|
35-
| AsyncAwaitTaskDelay | 63.14 ms | 0.074 ms | 1.00 | 336 B | 1.00 |
36-
| SyncAwaitTaskDelay | 63.19 ms | 0.147 ms | 1.00 | 232 B | 0.69 |
35+
| AsyncAwaitTaskDelay | 63.23 ms | 0.125 ms | 1.00 | 336 B | 1.00 |
36+
| SyncAwaitTaskDelay | 63.25 ms | 0.115 ms | 1.00 | 232 B | 0.69 |
3737
Summary */

source/Atmoos.Sphere.Benchmark/Text/InsertFileBenchmark.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ public async Task<Int32> InsertAsynchronously()
4040

4141
/* Summary
4242
43-
BenchmarkDotNet v0.15.2, Linux Arch Linux
44-
Intel Core i7-8565U CPU 1.80GHz (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
45-
.NET SDK 9.0.109
46-
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
47-
ShortRun : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
43+
BenchmarkDotNet v0.15.3, Linux Arch Linux
44+
Intel Core i7-8565U CPU 1.80GHz (Max: 0.40GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
45+
.NET SDK 9.0.110
46+
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
47+
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
4848
4949
Job=ShortRun IterationCount=11 LaunchCount=1
5050
WarmupCount=5
5151
52-
| Method | Mean | Error | Ratio | Gen0 | Gen1 | Allocated | Alloc Ratio |
53-
|--------------------- |-----------:|---------:|------:|--------:|-------:|----------:|------------:|
54-
| InsertSynchronously | 557.3 μs | 2.47 μs | 0.31 | 30.2734 | 0.9766 | 126.28 KB | 0.34 |
55-
| InsertAsynchronously | 1,802.7 μs | 29.86 μs | 1.00 | 89.8438 | - | 367.37 KB | 1.00 |
52+
| Method | Mean | Error | Ratio | Gen0 | Gen1 | Allocated | Alloc Ratio |
53+
|--------------------- |-----------:|--------:|------:|--------:|-------:|----------:|------------:|
54+
| InsertSynchronously | 573.2 μs | 0.83 μs | 0.32 | 30.2734 | 0.9766 | 126.28 KB | 0.34 |
55+
| InsertAsynchronously | 1,772.0 μs | 5.50 μs | 1.00 | 89.8438 | 3.9063 | 367.35 KB | 1.00 |
5656
Summary */

source/Atmoos.Sphere.Benchmark/Text/InsertStreamBenchmark.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,26 @@ public override async Task WriteLineAsync(ReadOnlyMemory<Char> value, Cancellati
7878

7979
/* Summary
8080
81-
BenchmarkDotNet v0.15.2, Linux Arch Linux
82-
Intel Core i7-8565U CPU 1.80GHz (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
83-
.NET SDK 9.0.109
84-
[Host] : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
85-
ShortRun : .NET 9.0.8 (9.0.825.36511), X64 RyuJIT AVX2
81+
BenchmarkDotNet v0.15.3, Linux Arch Linux
82+
Intel Core i7-8565U CPU 1.80GHz (Max: 0.40GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
83+
.NET SDK 9.0.110
84+
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
85+
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
8686
8787
Job=ShortRun InvocationCount=1 IterationCount=3
8888
LaunchCount=1 UnrollFactor=1 WarmupCount=3
8989
90-
| Method | MsDelay | Mean | Error | Ratio | Allocated | Alloc Ratio |
91-
|--------------------- |-------- |-----------:|--------:|------:|----------:|------------:|
92-
| InsertSynchronously | 1 | 474.7 ms | 7.01 ms | 1.45 | 6.66 KB | 0.13 |
93-
| InsertAsynchronously | 1 | 327.5 ms | 6.07 ms | 1.00 | 50.75 KB | 1.00 |
94-
| | | | | | | |
95-
| InsertSynchronously | 2 | 945.4 ms | 5.30 ms | 1.46 | 6.66 KB | 0.13 |
96-
| InsertAsynchronously | 2 | 647.5 ms | 9.14 ms | 1.00 | 50.75 KB | 1.00 |
97-
| | | | | | | |
98-
| InsertSynchronously | 4 | 1,870.2 ms | 2.88 ms | 1.46 | 6.66 KB | 0.13 |
99-
| InsertAsynchronously | 4 | 1,278.7 ms | 6.61 ms | 1.00 | 50.75 KB | 1.00 |
100-
| | | | | | | |
101-
| InsertSynchronously | 8 | 3,718.6 ms | 4.08 ms | 1.46 | 6.66 KB | 0.13 |
102-
| InsertAsynchronously | 8 | 2,539.1 ms | 4.32 ms | 1.00 | 50.75 KB | 1.00 |
90+
| Method | MsDelay | Mean | Error | Ratio | Allocated | Alloc Ratio |
91+
|--------------------- |-------- |-----------:|---------:|------:|----------:|------------:|
92+
| InsertSynchronously | 1 | 477.2 ms | 0.64 ms | 1.45 | 6.66 KB | 0.13 |
93+
| InsertAsynchronously | 1 | 330.2 ms | 4.12 ms | 1.00 | 50.75 KB | 1.00 |
94+
| | | | | | | |
95+
| InsertSynchronously | 2 | 945.6 ms | 14.74 ms | 1.46 | 6.66 KB | 0.13 |
96+
| InsertAsynchronously | 2 | 649.1 ms | 0.89 ms | 1.00 | 50.75 KB | 1.00 |
97+
| | | | | | | |
98+
| InsertSynchronously | 4 | 1,870.4 ms | 5.06 ms | 1.46 | 6.66 KB | 0.13 |
99+
| InsertAsynchronously | 4 | 1,279.5 ms | 6.89 ms | 1.00 | 50.75 KB | 1.00 |
100+
| | | | | | | |
101+
| InsertSynchronously | 8 | 3,719.6 ms | 4.44 ms | 1.46 | 6.66 KB | 0.13 |
102+
| InsertAsynchronously | 8 | 2,539.9 ms | 2.58 ms | 1.00 | 50.75 KB | 1.00 |
103103
Summary */

source/Atmoos.Sphere.BenchmarkDotNet/Atmoos.Sphere.BenchmarkDotNet.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<Import Project="../Atmoos.Sphere.Pack.targets" />
44

55
<PropertyGroup>
6-
<Version>0.15.0</Version>
6+
<Version>0.15.3</Version>
77
<PackageTags>benchmark, benchmarking, export benchmark results</PackageTags>
88
<Description>Atmoos Sphere BenchmarkDotNet:Exports benchmark results into the defining benchmark source files.</Description>
99
</PropertyGroup>
1010

1111
<ItemGroup>
1212
<PackageReference Include="Atmoos.Sphere" Version="0.4.0" />
13-
<PackageReference Include="BenchmarkDotNet" Version="0.15.2" />
13+
<PackageReference Include="BenchmarkDotNet" Version="0.15.3" />
1414
</ItemGroup>
1515

1616
</Project>

0 commit comments

Comments
 (0)