Title: Benchmark stdlib compression code · Issue #392 · python/pyperformance · GitHub
Open Graph Title: Benchmark stdlib compression code · Issue #392 · python/pyperformance
X Title: Benchmark stdlib compression code · Issue #392 · python/pyperformance
Description: At PyConUS, I was chatting with @gpshead about adding compression benchmarks. While a lot of the "heavy lifting" of compression happens in the libraries CPython binds (zlib, liblzma, etc.), the handling of output buffers in CPython has a...
Open Graph Description: At PyConUS, I was chatting with @gpshead about adding compression benchmarks. While a lot of the "heavy lifting" of compression happens in the libraries CPython binds (zlib, liblzma, etc.), the han...
X Description: At PyConUS, I was chatting with @gpshead about adding compression benchmarks. While a lot of the "heavy lifting" of compression happens in the libraries CPython binds (zlib, liblzma, etc....
Opengraph URL: https://github.com/python/pyperformance/issues/392
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Benchmark stdlib compression code","articleBody":"At PyConUS, I was chatting with @gpshead about adding compression benchmarks. While a lot of the \"heavy lifting\" of compression happens in the libraries CPython binds (zlib, liblzma, etc.), the handling of output buffers in CPython has a significant impact in performance, and is something we don't have a lot of visibility into the performance of.\n\nOne of the better known cross-algorithm compression benchmarks I'm aware of is [lzbench](https://github.com/inikep/lzbench), which tests compression performance of the [Silesia compression corpus](http://sun.aei.polsl.pl/~sdeor/index.php?page=silesia) across many algorithms. I figure running compression benchmarks at varied settings on Silesia would provide a good starting point for benchmarking the output buffer and other binding code.\n\n","author":{"url":"https://github.com/emmatyping","@type":"Person","name":"emmatyping"},"datePublished":"2025-05-22T21:48:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/392/pyperformance/issues/392"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02a666a1-6aab-8b97-a378-6e4b88fd0222 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED58:36BDF1:1AFF75:263B4D:696FA20A |
| html-safe-nonce | 545b926f263802afc06c35391b29bbe02f0f0b09d2d4eb216817c1d47fa29ce4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDU4OjM2QkRGMToxQUZGNzU6MjYzQjREOjY5NkZBMjBBIiwidmlzaXRvcl9pZCI6IjY5MTcxMTczNTY3OTQ2ODM5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d8223d950928016c60bb01582c9bb9659565842bbc27645f618b396949020b5d |
| hovercard-subject-tag | issue:3084618168 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/pyperformance/392/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ada47b851266f72c8a79df8cd9751644d3bac42aae8ea3eb6ef6da180b10b68d/python/pyperformance/issues/392 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ada47b851266f72c8a79df8cd9751644d3bac42aae8ea3eb6ef6da180b10b68d/python/pyperformance/issues/392 |
| og:image:alt | At PyConUS, I was chatting with @gpshead about adding compression benchmarks. While a lot of the "heavy lifting" of compression happens in the libraries CPython binds (zlib, liblzma, etc.), the han... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | emmatyping |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width