Skip to content

Optimise decompression size (#12357)#12391

Merged
Dreamsorcerer merged 1 commit into3.14from
patchback/backports/3.14/53f6e919dbae7b65627018f015014e0fe70b4d92/pr-12357
Apr 18, 2026
Merged

Optimise decompression size (#12357)#12391
Dreamsorcerer merged 1 commit into3.14from
patchback/backports/3.14/53f6e919dbae7b65627018f015014e0fe70b4d92/pr-12357

Conversation

@Dreamsorcerer
Copy link
Copy Markdown
Member

(cherry picked from commit 53f6e91)

(cherry picked from commit 53f6e91)
@Dreamsorcerer Dreamsorcerer requested a review from asvetlov as a code owner April 18, 2026 14:06
@Dreamsorcerer Dreamsorcerer added the bot:chronographer:skip This PR does not need to include a change note label Apr 18, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.20%. Comparing base (5c17b64) to head (fb3c822).
⚠️ Report is 1 commits behind head on 3.14.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.14   #12391   +/-   ##
=======================================
  Coverage   98.19%   98.20%           
=======================================
  Files         135      135           
  Lines       47104    47121   +17     
  Branches     2521     2525    +4     
=======================================
+ Hits        46256    46273   +17     
  Misses        671      671           
  Partials      177      177           
Flag Coverage Δ
CI-GHA 98.26% <100.00%> (+<0.01%) ⬆️
OS-Linux 98.02% <100.00%> (+<0.01%) ⬆️
OS-Windows 95.66% <90.62%> (-0.01%) ⬇️
OS-macOS 97.20% <90.62%> (-0.01%) ⬇️
Py-3.10.11 96.69% <90.62%> (-0.01%) ⬇️
Py-3.10.20 97.16% <90.62%> (-0.01%) ⬇️
Py-3.11.15 97.45% <90.62%> (-0.01%) ⬇️
Py-3.11.9 96.98% <90.62%> (-0.01%) ⬇️
Py-3.12.10 97.06% <90.62%> (-0.01%) ⬇️
Py-3.12.13 97.54% <90.62%> (+<0.01%) ⬆️
Py-3.13.12 ?
Py-3.13.13 97.76% <90.62%> (+2.48%) ⬆️
Py-3.14.3 ?
Py-3.14.4 97.81% <90.62%> (?)
Py-3.14.4t 96.84% <90.62%> (-0.01%) ⬇️
Py-pypy3.11.15-7.3.21 96.67% <90.62%> (-0.01%) ⬇️
VM-macos 97.20% <90.62%> (-0.01%) ⬇️
VM-ubuntu 98.02% <100.00%> (+<0.01%) ⬆️
VM-windows 95.66% <90.62%> (-0.01%) ⬇️
cython-coverage 38.09% <75.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 18, 2026

Merging this PR will degrade performance by 12.73%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 4 improved benchmarks
❌ 1 (👁 1) regressed benchmark
✅ 62 untouched benchmarks
⏩ 4 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
test_get_request_with_251308_compressed_chunked_payload[zlib_ng.zlib_ng-pyloop] 244.6 ms 216.3 ms +13.08%
test_get_request_with_251308_compressed_chunked_payload[isal.isal_zlib-pyloop] 114 ms 73 ms +56.18%
👁 test_ten_compressed_responses_iter_chunked_1mb[zlib_ng.zlib_ng-pyloop] 55.6 ms 63.7 ms -12.73%
test_read_compressed_post_body[isal.isal_zlib-pyloop] 34.5 ms 29.6 ms +16.7%
test_read_compressed_post_body[zlib-pyloop] 47.2 ms 40.4 ms +16.76%

Comparing patchback/backports/3.14/53f6e919dbae7b65627018f015014e0fe70b4d92/pr-12357 (fb3c822) with 3.14 (5c17b64)

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Dreamsorcerer Dreamsorcerer merged commit 3c56715 into 3.14 Apr 18, 2026
41 checks passed
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.14/53f6e919dbae7b65627018f015014e0fe70b4d92/pr-12357 branch April 18, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:skip This PR does not need to include a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant