mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #969] [MERGED] Add JB perf testing project. #1385
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/969
Author: @adamhathcock
Created: 10/23/2025
Status: ✅ Merged
Merged: 10/23/2025
Merged by: @adamhathcock
Base:
master← Head:adam/perf📝 Commits (10+)
c108f2dadd perf testing project using JB memory and cpu186ea74add some fixes for rar to pool memorybb59b3dadd pool to LZMA out window3ff688fclear and null check1ae7190don't need to clear everything00e6eefused AI to optimize some copys and shiftingcc84f6fmore making rar fasterf0d28aafmt0ddbacaUpdate src/SharpCompress/Compressors/Rar/UnpackV1/UnpackUtility.csf9ed0f2Update tests/SharpCompress.Performance/Program.cs📊 Changes
18 files changed (+717 additions, -334 deletions)
View changed files
📝
Directory.Packages.props(+1 -0)📝
SharpCompress.sln(+7 -0)📝
src/SharpCompress/Compressors/LZMA/LZ/LzOutWindow.cs(+29 -10)📝
src/SharpCompress/Compressors/LZMA/LzmaDecoder.cs(+6 -9)📝
src/SharpCompress/Compressors/LZMA/LzmaStream.cs(+1 -0)📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack.cs(+103 -92)📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack15.cs(+0 -10)📝
src/SharpCompress/Compressors/Rar/UnpackV1/UnpackUtility.cs(+50 -156)📝
src/SharpCompress/Compressors/Rar/VM/BitInput.cs(+17 -2)📝
src/SharpCompress/Compressors/Rar/VM/RarVM.cs(+46 -38)📝
src/SharpCompress/IO/SharpCompressStream.cs(+11 -1)📝
src/SharpCompress/NotNullExtensions.cs(+1 -0)📝
src/SharpCompress/Utility.cs(+2 -16)➕
tests/SharpCompress.Performance/JetbrainsProfiler.cs(+49 -0)➕
tests/SharpCompress.Performance/LargeMemoryStream.cs(+280 -0)➕
tests/SharpCompress.Performance/Program.cs(+54 -0)➕
tests/SharpCompress.Performance/SharpCompress.Performance.csproj(+10 -0)➕
tests/SharpCompress.Performance/packages.lock.json(+50 -0)📄 Description
Got some memory allocation wins with RAR
Pooling for LZMA reading
Testing for more low hanging fruit...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.