mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-04-22 05:59:37 +00:00
simplify the results to compare
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -23,3 +23,4 @@ profiler-snapshots/
|
||||
|
||||
.DS_Store
|
||||
*.snupkg
|
||||
benchmark-results/
|
||||
|
||||
@@ -440,8 +440,8 @@ Target(
|
||||
|
||||
foreach (var file in markdownFiles)
|
||||
{
|
||||
var content = File.ReadAllText(file);
|
||||
baselineContent.Add(content);
|
||||
var lines = File.ReadAllLines(file);
|
||||
baselineContent.AddRange(lines.Select(l => l.Trim()).Where(l => l.StartsWith('|')));
|
||||
}
|
||||
|
||||
File.WriteAllText(baselinePath, string.Join(Environment.NewLine, baselineContent));
|
||||
|
||||
@@ -1,81 +1,23 @@
|
||||
```
|
||||
|
||||
BenchmarkDotNet v0.14.0, Ubuntu 24.04.3 LTS (Noble Numbat)
|
||||
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
|
||||
.NET SDK 10.0.102
|
||||
[Host] : .NET 10.0.2 (10.0.225.61305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
|
||||
|
||||
Toolchain=InProcessEmitToolchain InvocationCount=1 IterationCount=3
|
||||
UnrollFactor=1 WarmupCount=1
|
||||
|
||||
```
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|------------------------- |-----------:|-----------:|----------:|----------:|
|
||||
| 'GZip: Compress 100KB' | 6,090.9 μs | 1,940.6 μs | 106.37 μs | 523.37 KB |
|
||||
| 'GZip: Decompress 100KB' | 434.5 μs | 389.3 μs | 21.34 μs | 37.41 KB |
|
||||
```
|
||||
|
||||
BenchmarkDotNet v0.14.0, Ubuntu 24.04.3 LTS (Noble Numbat)
|
||||
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
|
||||
.NET SDK 10.0.102
|
||||
[Host] : .NET 10.0.2 (10.0.225.61305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
|
||||
|
||||
Toolchain=InProcessEmitToolchain InvocationCount=1 IterationCount=3
|
||||
UnrollFactor=1 WarmupCount=1
|
||||
|
||||
```
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|----------------------------------------- |---------:|----------:|----------:|----------:|
|
||||
| 'Rar: Extract all entries (Archive API)' | 2.070 ms | 2.4938 ms | 0.1367 ms | 95.77 KB |
|
||||
| 'Rar: Extract all entries (Reader API)' | 2.359 ms | 0.9123 ms | 0.0500 ms | 154.18 KB |
|
||||
```
|
||||
|
||||
BenchmarkDotNet v0.14.0, Ubuntu 24.04.3 LTS (Noble Numbat)
|
||||
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
|
||||
.NET SDK 10.0.102
|
||||
[Host] : .NET 10.0.2 (10.0.225.61305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
|
||||
|
||||
Toolchain=InProcessEmitToolchain InvocationCount=1 IterationCount=3
|
||||
UnrollFactor=1 WarmupCount=1
|
||||
|
||||
```
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|---------------------------------- |----------:|-----------:|----------:|----------:|
|
||||
| '7Zip LZMA: Extract all entries' | 14.042 ms | 98.7800 ms | 5.4145 ms | 277.93 KB |
|
||||
| '7Zip LZMA2: Extract all entries' | 8.654 ms | 0.6124 ms | 0.0336 ms | 277.71 KB |
|
||||
```
|
||||
|
||||
BenchmarkDotNet v0.14.0, Ubuntu 24.04.3 LTS (Noble Numbat)
|
||||
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
|
||||
.NET SDK 10.0.102
|
||||
[Host] : .NET 10.0.2 (10.0.225.61305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
|
||||
|
||||
Toolchain=InProcessEmitToolchain InvocationCount=1 IterationCount=3
|
||||
UnrollFactor=1 WarmupCount=1
|
||||
|
||||
```
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|------------------------- |-----------:|----------:|----------:|----------:|
|
||||
| 'GZip: Compress 100KB' | 2,422.9 μs | 826.68 μs | 546.80 μs | 519.2 KB |
|
||||
| 'GZip: Decompress 100KB' | 322.9 μs | 23.40 μs | 13.93 μs | 34.15 KB |
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|----------------------------------------- |-----------:|---------:|---------:|----------:|
|
||||
| 'Rar: Extract all entries (Archive API)' | 883.7 μs | 24.98 μs | 16.52 μs | 90.83 KB |
|
||||
| 'Rar: Extract all entries (Reader API)' | 1,138.8 μs | 22.88 μs | 15.13 μs | 149.43 KB |
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|---------------------------------- |---------:|----------:|----------:|----------:|
|
||||
| '7Zip LZMA: Extract all entries' | 5.297 ms | 0.6199 ms | 0.3689 ms | 272.7 KB |
|
||||
| '7Zip LZMA2: Extract all entries' | 5.122 ms | 0.1581 ms | 0.1046 ms | 272.52 KB |
|
||||
| Method | Mean | Error | StdDev | Allocated |
|
||||
|----------------------------------------- |---------:|---------:|---------:|----------:|
|
||||
| 'Tar: Extract all entries (Archive API)' | 148.0 μs | 356.4 μs | 19.53 μs | 20.73 KB |
|
||||
| 'Tar: Extract all entries (Reader API)' | 259.5 μs | 347.1 μs | 19.02 μs | 217.47 KB |
|
||||
| 'Tar: Extract all entries (Archive API)' | 24.49 μs | 1.461 μs | 0.967 μs | 16.58 KB |
|
||||
| 'Tar: Extract all entries (Reader API)' | 97.18 μs | 3.243 μs | 2.145 μs | 213.31 KB |
|
||||
| 'Tar.GZip: Extract all entries' | NA | NA | NA | NA |
|
||||
| 'Tar: Create archive with small files' | 139.1 μs | 728.8 μs | 39.95 μs | 72.55 KB |
|
||||
|
||||
Benchmarks with issues:
|
||||
TarBenchmarks.'Tar.GZip: Extract all entries': Job-NHXEIE(Toolchain=InProcessEmitToolchain, InvocationCount=1, IterationCount=3, UnrollFactor=1, WarmupCount=1)
|
||||
```
|
||||
|
||||
BenchmarkDotNet v0.14.0, Ubuntu 24.04.3 LTS (Noble Numbat)
|
||||
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
|
||||
.NET SDK 10.0.102
|
||||
[Host] : .NET 10.0.2 (10.0.225.61305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
|
||||
|
||||
Toolchain=InProcessEmitToolchain InvocationCount=1 IterationCount=3
|
||||
UnrollFactor=1 WarmupCount=1
|
||||
|
||||
```
|
||||
| Method | Mean | Error | StdDev | Median | Allocated |
|
||||
|----------------------------------------- |---------:|-----------:|----------:|----------:|-----------:|
|
||||
| 'Zip: Extract all entries (Archive API)' | 5.629 ms | 66.953 ms | 3.6699 ms | 7.2353 ms | 186.55 KB |
|
||||
| 'Zip: Extract all entries (Reader API)' | 4.935 ms | 114.613 ms | 6.2823 ms | 1.3354 ms | 128.05 KB |
|
||||
| 'Zip: Create archive with small files' | 1.250 ms | 10.341 ms | 0.5668 ms | 0.9229 ms | 2812.43 KB |
|
||||
| 'Tar: Create archive with small files' | 23.65 μs | 1.263 μs | 0.752 μs | 68.18 KB |
|
||||
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
|
||||
|----------------------------------------- |---------:|---------:|---------:|---------:|---------:|-----------:|
|
||||
| 'Zip: Extract all entries (Archive API)' | 541.1 μs | 35.05 μs | 23.18 μs | - | - | 181.57 KB |
|
||||
| 'Zip: Extract all entries (Reader API)' | 515.6 μs | 36.03 μs | 21.44 μs | - | - | 122.72 KB |
|
||||
| 'Zip: Create archive with small files' | 190.0 μs | 17.55 μs | 11.61 μs | 300.0000 | 100.0000 | 2806.51 KB |
|
||||
Reference in New Issue
Block a user