Don't use Zstandard bundles on Windows
In testing, gzip performs better than Zstandard on Windows.
This commit is contained in:
parent
9d1e406cd6
commit
eefb943f7e
7 changed files with 7 additions and 8 deletions
|
|
@ -823,6 +823,8 @@ async function useZstdBundle(
|
|||
tarSupportsZstd: boolean,
|
||||
): Promise<boolean> {
|
||||
return (
|
||||
// In testing, gzip performs better than zstd on Windows.
|
||||
process.platform !== "win32" &&
|
||||
tarSupportsZstd &&
|
||||
semver.gte(cliVersion, CODEQL_VERSION_ZSTD_BUNDLE) &&
|
||||
!!(await features.getValue(Feature.ZstdBundle))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue