mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-22 15:04:43 +00:00
Update tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ public class SevenZipBenchmarks : ArchiveBenchmarkBase
|
||||
public async Task SevenZipLzmaExtractAsync()
|
||||
{
|
||||
using var stream = new MemoryStream(_lzmaBytes);
|
||||
using var archive = SevenZipArchive.OpenArchive(stream);
|
||||
await using var archive = SevenZipArchive.OpenAsyncArchive(stream);
|
||||
foreach (var entry in archive.Entries.Where(e => !e.IsDirectory))
|
||||
{
|
||||
using var entryStream = await entry.OpenEntryStreamAsync().ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user