Initial
This commit is contained in:
1 parent
2cff35f215
commit
1b0d534e6c
358 files changed
+253978
-74
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[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"
|
||||
}
|
||||
Reference in new issue
Block a user