Files
EonaCat.XSBox/scripts/benchmarks/benchmark-gpu-hot-paths.ps1
T
EonaCat 53e6e612c9
Rust validation / Windows x64 build and tests (push) Waiting to run
Rust validation / Formatting (push) Failing after 26s
EonaCat/ci-workflows: SonarQube / sonar (push) Successful in 47s
Initial
2026-12-04 21:27:30 +01:00

18 lines
457 B
PowerShell

[CmdletBinding()]
param(
[ValidateSet("release", "fast")]
[string]$Profile = "release"
)
$ErrorActionPreference = "Stop"
$arguments = @("bench", "-p", "eonacat-xsbox-gpu", "--bench", "hot_paths")
if ($Profile -eq "fast") {
$arguments += @("--profile", "fast")
}
Write-Host "Building and running EonaCat.XSBOX CPU microbenchmarks..."
cargo @arguments
if ($LASTEXITCODE -ne 0) {
throw "Cargo benchmark failed with exit code $LASTEXITCODE"
}