From 7d14cfe2c51b0c3a9b889e6b89f88faf2f9befad Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Fri, 9 Jun 2023 11:22:10 +0100 Subject: [PATCH] Tweak parsing of output (#1058) --- Tools/Scripts/parsePerformanceMetrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/Scripts/parsePerformanceMetrics.sh b/Tools/Scripts/parsePerformanceMetrics.sh index 33a4d5a41..49a2259ce 100755 --- a/Tools/Scripts/parsePerformanceMetrics.sh +++ b/Tools/Scripts/parsePerformanceMetrics.sh @@ -13,7 +13,7 @@ NOW=`date -u -Iminutes` # Find all the measurement lines in the file, then strip out the gumph into a CSV-like format. grep ".*measured.*values" $1 | sed -e "s/.*Test Case .*-\[//" -e "s/\]' measured \[/,/" -e "s/\].*values: \[/,/" -e "s/\], performance.*//" -e "s/^/$2,/" \ -e "s/IntegrationTests.ApplicationTests testLaunchPerformance,Duration (AppLaunch), s/launchPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow/loginPerformance/" \ + -e "s/IntegrationTests.LoginTests testLoginFlow,Clock Monotonic Time, s/loginPerformance/" \ -e "s/^/$NOW,/" # The output should contain fields for the identifier, name, type, unit, then a list of recorded values (normally 5)