Title: Compress release bundle with zstandard/zstd to reduce size · Issue #2400 · github/codeql-action · GitHub
Open Graph Title: Compress release bundle with zstandard/zstd to reduce size · Issue #2400 · github/codeql-action
X Title: Compress release bundle with zstandard/zstd to reduce size · Issue #2400 · github/codeql-action
Description: I propose a .zstd download option alongside the existing .gz one for Linux releases. For the latest 2.18.1 linux64 bundle, using zstd instead of gzip can cut off 33% of the file size, or 822.8 MiB down to 553.2 MiB. Example command to co...
Open Graph Description: I propose a .zstd download option alongside the existing .gz one for Linux releases. For the latest 2.18.1 linux64 bundle, using zstd instead of gzip can cut off 33% of the file size, or 822.8 MiB ...
X Description: I propose a .zstd download option alongside the existing .gz one for Linux releases. For the latest 2.18.1 linux64 bundle, using zstd instead of gzip can cut off 33% of the file size, or 822.8 MiB ...
Opengraph URL: https://github.com/github/codeql-action/issues/2400
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compress release bundle with zstandard/zstd to reduce size","articleBody":"I propose a .zstd download option alongside the existing .gz one for Linux releases. For the latest 2.18.1 linux64 bundle, using zstd instead of gzip can cut off 33% of the file size, or 822.8 MiB down to 553.2 MiB.\r\n\r\nExample command to convert the existing .gz:\r\n`zcat codeql-bundle-linux64.tar.gz | zstd --long=27 -9 -o codeql-bundle-linux64.tar.zstd`\r\n\r\nFile sizes:\r\n`862823301 codeql-bundle-linux64.tar.gz`\r\n`580124258 codeql-bundle-linux64.tar.zstd`\r\n\r\nFor zstd arguments, compression levels above -9 saw diminishing returns, though -19 does get down to 504.5 MiB while taking 12x longer to compress. Using higher --long= values improves compression, but 27 is the highest value that clients can process by default, per https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md?plain=1#L162\r\n\r\nCompression with xz is also an improvement, it's just noticeably slower. Either is an improvement over just .gz and any recent linux will support both .zstd or .xz for decompression.","author":{"url":"https://github.com/DSmithVA","@type":"Person","name":"DSmithVA"},"datePublished":"2024-07-31T13:01:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/2400/codeql-action/issues/2400"}
| 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:2ce39389-5ba9-9b66-8547-616639d0c847 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC8A:390DDA:3AD1D4:524BFB:6A551B04 |
| html-safe-nonce | 4d256426dca7534b42b36f27e97f08f6571bab9e04b496f392d5a94c98930a66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzhBOjM5MEREQTozQUQxRDQ6NTI0QkZCOjZBNTUxQjA0IiwidmlzaXRvcl9pZCI6IjEzNjkxNDcyMTUzODY1ODE3NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a57b7f3968a61822231931fc2a63db1fda097b54e7908e99298ab7064cbc745a |
| hovercard-subject-tag | issue:2440007502 |
| 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/github/codeql-action/2400/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9a59917bc755eb0520f64ab3777b5e2aacf3c316159bc51da704f414f10ed7e5/github/codeql-action/issues/2400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a59917bc755eb0520f64ab3777b5e2aacf3c316159bc51da704f414f10ed7e5/github/codeql-action/issues/2400 |
| og:image:alt | I propose a .zstd download option alongside the existing .gz one for Linux releases. For the latest 2.18.1 linux64 bundle, using zstd instead of gzip can cut off 33% of the file size, or 822.8 MiB ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DSmithVA |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width