mirror of
https://github.com/aziascreations/PB-MessagePack.git
synced 2026-11-03 17:01:24 +01:00
9facb66ee8
Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
531 B
PowerShell
19 lines
531 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
# Shows the error instead of closing the window right away.
|
|
trap {
|
|
Write-Host $_ -ForegroundColor Red
|
|
Pause
|
|
exit 1
|
|
}
|
|
|
|
. (Join-Path $PSScriptRoot "..\_PerfTesting.ps1")
|
|
|
|
# Requires Python with the packages from 'PerfTests\requirements.txt', and the .NET 10 SDK.
|
|
$Rows = @(Invoke-PureBasicPerfTests $PSScriptRoot)
|
|
$Rows += Invoke-PythonPerfTest (Join-Path $PSScriptRoot "PerfPython.py")
|
|
$Rows += Invoke-DotNetPerfTest (Join-Path $PSScriptRoot "DotNet")
|
|
|
|
Show-PerfResults $Rows $PSScriptRoot
|
|
Pause
|