From 4198aeffe81b7eb4f25a3f810950080bafdedaa3 Mon Sep 17 00:00:00 2001 From: Alexander Popel Date: Wed, 18 Mar 2026 15:07:02 +0200 Subject: [PATCH] ci: fix performance test results parsing --- ci/run-performance-tests.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ci/run-performance-tests.ps1 b/ci/run-performance-tests.ps1 index 4797940..eed0782 100644 --- a/ci/run-performance-tests.ps1 +++ b/ci/run-performance-tests.ps1 @@ -71,13 +71,10 @@ $currentThreadNum = 1 # Read the content of the performance results file line by line Get-Content "$RepoName/test-results/performance-summary/fiftyone.ipintelligence.examples.console.PerformanceBenchmarkTest-output.txt" | ForEach-Object { # If the line matches a profile header, extract the profile properties and create a new profile. - if($_ -match "MaxPerformance AllProperties: (true|false), performanceGraph: (true|false), predictiveGraph (true|false)") { + if($_ -match "MaxPerformance AllProperties: (true|false)") { $allProperties = [string]$Matches[1] - $performanceGraph = [string]$Matches[2] - $predictiveGraph = [string]$Matches[3] - $profileNum++ - $currentProfile = $profiles["MaxPerformance-$allProperties-$performanceGraph-$predictiveGraph"] = @{ "Threads" = @{} } + $currentProfile = $profiles["MaxPerformance-$allProperties"] = @{ "Threads" = @{} } $currentThreadNum = 1 } # If the line matches a thread data line, extract the thread data and add it to the current profile.