From ec822a48f1b4303fab4e12bbf75f59900a05b55e Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Wed, 14 May 2025 10:24:59 +0100 Subject: [PATCH] Add Time --- .github/build_windows_packages.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 28931a1c..0cfaa421 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -144,7 +144,10 @@ Set-Location ../ Get-ChildItem . Copy-Item -Path $curr -Destination $pkgName -Recurse $7zPath = "$pkgName.7z" -& "C:\Program Files\7-Zip\7z.exe" a -t7z "$7zPath" "$pkgName" -mx=9 -bsp1 +$time = Measure-Command { + & "C:\Program Files\7-Zip\7z.exe" a -t7z "$7zPath" "$pkgName" -mx=9 -bsp1 +} +Write-Host "7z compression finished in $($time.TotalSeconds) seconds" Get-ChildItem . python -m pip install --upgrade pip