Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions source/Atmoos.Sphere.Benchmark/Async/OrderByCompletionBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ static async Task<T> Next(HashSet<Task<T>> set)

/* Summary

BenchmarkDotNet v0.15.4, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.50GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
BenchmarkDotNet v0.15.7, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.99GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
.NET SDK 9.0.110
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
Job-CNUJVU : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
Expand All @@ -66,19 +66,19 @@ .NET SDK 9.0.110

| Method | Count | Mean | Error | Ratio | Gen0 | Allocated | Alloc Ratio |
|------------------------ |------ |-----------:|--------:|------:|----------:|----------:|------------:|
| Unordered | 128 | 256.5 ms | 0.40 ms | 1.00 | - | 336 B | 0.01 |
| OrderedByCompletion | 128 | 256.3 ms | 0.42 ms | 1.00 | - | 30976 B | 1.00 |
| NaiveCompletionOrdering | 128 | 256.0 ms | 0.50 ms | 1.00 | - | 120864 B | 3.90 |
| Unordered | 128 | 256.3 ms | 0.30 ms | 1.00 | - | 336 B | 0.01 |
| OrderedByCompletion | 128 | 256.4 ms | 0.52 ms | 1.00 | - | 31104 B | 1.00 |
| NaiveCompletionOrdering | 128 | 256.6 ms | 0.39 ms | 1.00 | - | 119392 B | 3.84 |
| | | | | | | | |
| Unordered | 256 | 512.3 ms | 0.62 ms | 1.00 | - | 336 B | 0.005 |
| OrderedByCompletion | 256 | 512.0 ms | 0.56 ms | 1.00 | - | 61600 B | 1.000 |
| NaiveCompletionOrdering | 256 | 512.0 ms | 0.48 ms | 1.00 | - | 384848 B | 6.248 |
| Unordered | 256 | 511.9 ms | 0.54 ms | 1.00 | - | 336 B | 0.005 |
| OrderedByCompletion | 256 | 512.4 ms | 0.37 ms | 1.00 | - | 61568 B | 1.000 |
| NaiveCompletionOrdering | 256 | 512.4 ms | 0.50 ms | 1.00 | - | 377616 B | 6.133 |
| | | | | | | | |
| Unordered | 512 | 1,022.1 ms | 0.50 ms | 1.00 | - | 336 B | 0.003 |
| OrderedByCompletion | 512 | 1,023.0 ms | 0.29 ms | 1.00 | - | 123008 B | 1.000 |
| NaiveCompletionOrdering | 512 | 1,023.2 ms | 0.67 ms | 1.00 | - | 1291248 B | 10.497 |
| Unordered | 512 | 1,023.3 ms | 0.59 ms | 1.00 | - | 1384 B | 0.01 |
| OrderedByCompletion | 512 | 1,023.8 ms | 0.58 ms | 1.00 | - | 123008 B | 1.00 |
| NaiveCompletionOrdering | 512 | 1,023.8 ms | 0.62 ms | 1.00 | - | 1257208 B | 10.22 |
| | | | | | | | |
| Unordered | 1024 | 2,043.7 ms | 5.68 ms | 1.00 | - | 336 B | 0.001 |
| OrderedByCompletion | 1024 | 2,045.1 ms | 0.66 ms | 1.00 | - | 245760 B | 1.000 |
| NaiveCompletionOrdering | 1024 | 2,044.2 ms | 3.74 ms | 1.00 | 1000.0000 | 4693848 B | 19.099 |
| Unordered | 1024 | 2,045.6 ms | 6.07 ms | 1.00 | - | 336 B | 0.001 |
| OrderedByCompletion | 1024 | 2,047.2 ms | 0.97 ms | 1.00 | - | 246144 B | 1.000 |
| NaiveCompletionOrdering | 1024 | 2,045.5 ms | 5.49 ms | 1.00 | 1000.0000 | 4614024 B | 18.745 |
Summary */
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class SynchronousAwaitBenchmark

/* Summary

BenchmarkDotNet v0.15.4, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.50GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
BenchmarkDotNet v0.15.7, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.99GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
.NET SDK 9.0.110
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
Expand All @@ -32,6 +32,6 @@ .NET SDK 9.0.110

| Method | Mean | Error | Ratio | Allocated | Alloc Ratio |
|-------------------- |---------:|---------:|------:|----------:|------------:|
| AsyncAwaitTaskDelay | 63.15 ms | 0.084 ms | 1.00 | 336 B | 1.00 |
| SyncAwaitTaskDelay | 63.10 ms | 0.123 ms | 1.00 | 232 B | 0.69 |
| AsyncAwaitTaskDelay | 63.26 ms | 0.200 ms | 1.00 | 336 B | 1.00 |
| SyncAwaitTaskDelay | 63.33 ms | 0.129 ms | 1.00 | 232 B | 0.69 |
Summary */
12 changes: 6 additions & 6 deletions source/Atmoos.Sphere.Benchmark/Text/InsertFileBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ public async Task<Int32> InsertAsynchronously()

/* Summary

BenchmarkDotNet v0.15.4, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.50GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
BenchmarkDotNet v0.15.7, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.99GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
.NET SDK 9.0.110
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3

Job=ShortRun IterationCount=11 LaunchCount=1
WarmupCount=5

| Method | Mean | Error | Ratio | Gen0 | Gen1 | Allocated | Alloc Ratio |
|--------------------- |-----------:|---------:|------:|--------:|-------:|----------:|------------:|
| InsertSynchronously | 559.7 μs | 1.73 μs | 0.31 | 30.2734 | 0.9766 | 126.28 KB | 0.34 |
| InsertAsynchronously | 1,813.1 μs | 27.68 μs | 1.00 | 89.8438 | - | 367.37 KB | 1.00 |
| Method | Mean | Error | Ratio | Gen0 | Gen1 | Allocated | Alloc Ratio |
|--------------------- |---------:|---------:|------:|--------:|-------:|----------:|------------:|
| InsertSynchronously | 248.0 μs | 13.04 μs | 0.34 | 30.7617 | 0.9766 | 126.28 KB | 0.34 |
| InsertAsynchronously | 734.4 μs | 26.10 μs | 1.00 | 89.8438 | 3.9063 | 367.66 KB | 1.00 |
Summary */
30 changes: 15 additions & 15 deletions source/Atmoos.Sphere.Benchmark/Text/InsertStreamBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,26 @@ public override async Task WriteLineAsync(ReadOnlyMemory<Char> value, Cancellati

/* Summary

BenchmarkDotNet v0.15.4, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.50GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
BenchmarkDotNet v0.15.7, Linux Arch Linux
Intel Core i7-8565U CPU 1.80GHz (Max: 3.99GHz) (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
.NET SDK 9.0.110
[Host] : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3
ShortRun : .NET 9.0.9 (9.0.9, 9.0.925.41916), X64 RyuJIT x86-64-v3

Job=ShortRun InvocationCount=1 IterationCount=3
LaunchCount=1 UnrollFactor=1 WarmupCount=3

| Method | MsDelay | Mean | Error | Ratio | Allocated | Alloc Ratio |
|--------------------- |-------- |-----------:|----------:|------:|----------:|------------:|
| InsertSynchronously | 1 | 470.1 ms | 4.91 ms | 1.41 | 6.66 KB | 0.13 |
| InsertAsynchronously | 1 | 333.2 ms | 264.83 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 2 | 933.9 ms | 11.66 ms | 1.46 | 6.66 KB | 0.13 |
| InsertAsynchronously | 2 | 640.8 ms | 3.36 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 4 | 1,859.1 ms | 14.31 ms | 1.46 | 6.66 KB | 0.13 |
| InsertAsynchronously | 4 | 1,272.0 ms | 4.58 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 8 | 3,707.8 ms | 3.44 ms | 1.46 | 6.66 KB | 0.13 |
| InsertAsynchronously | 8 | 2,533.0 ms | 6.88 ms | 1.00 | 50.75 KB | 1.00 |
| Method | MsDelay | Mean | Error | Ratio | Allocated | Alloc Ratio |
|--------------------- |-------- |-----------:|---------:|------:|----------:|------------:|
| InsertSynchronously | 1 | 495.5 ms | 16.91 ms | 1.44 | 6.66 KB | 0.13 |
| InsertAsynchronously | 1 | 344.3 ms | 27.26 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 2 | 958.5 ms | 31.75 ms | 1.45 | 6.66 KB | 0.13 |
| InsertAsynchronously | 2 | 660.3 ms | 9.76 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 4 | 1,884.0 ms | 16.50 ms | 1.46 | 6.66 KB | 0.13 |
| InsertAsynchronously | 4 | 1,291.3 ms | 7.29 ms | 1.00 | 50.75 KB | 1.00 |
| | | | | | | |
| InsertSynchronously | 8 | 3,741.4 ms | 36.57 ms | 1.46 | 6.66 KB | 0.13 |
| InsertAsynchronously | 8 | 2,556.6 ms | 23.77 ms | 1.00 | 50.75 KB | 1.00 |
Summary */
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<Import Project="../Atmoos.Sphere.Pack.targets" />

<PropertyGroup>
<Version>0.15.4</Version>
<Version>0.15.7</Version>
<PackageTags>benchmark, benchmarking, export benchmark results</PackageTags>
<Description>Atmoos Sphere BenchmarkDotNet:Exports benchmark results into the defining benchmark source files.</Description>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Atmoos.Sphere" Version="0.4.0" />
<PackageReference Include="BenchmarkDotNet" Version="0.15.4" />
<PackageReference Include="BenchmarkDotNet" Version="0.15.7" />
</ItemGroup>

</Project>
Loading