From 5eb82d3c88cdcc77e5a6c69fe68d2487ca2df581 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 28 Aug 2023 13:37:07 +0300 Subject: [PATCH] Fix integration test performance parsing --- Tools/Scripts/parsePerformanceMetrics.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tools/Scripts/parsePerformanceMetrics.sh b/Tools/Scripts/parsePerformanceMetrics.sh index b2ffd107d..c34f5e39f 100755 --- a/Tools/Scripts/parsePerformanceMetrics.sh +++ b/Tools/Scripts/parsePerformanceMetrics.sh @@ -12,12 +12,12 @@ 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.LoginTests testLoginFlow,Duration .AppLaunch., s/launchPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow,Duration .Login., s/loginPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow,Duration .RoomFlow., s/roomFlowPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow,Duration .FirstRooms., s/firstRoomsPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow,Duration .FirstSync., s/firstSyncPerformance/" \ - -e "s/IntegrationTests.LoginTests testLoginFlow,Clock Monotonic Time, s/totalTime/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Duration .AppLaunch., s/launchPerformance/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Duration .Login., s/loginPerformance/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Duration .RoomFlow., s/roomFlowPerformance/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Duration .FirstRooms., s/firstRoomsPerformance/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Duration .FirstSync., s/firstSyncPerformance/" \ + -e "s/IntegrationTests.PerformanceTests testLoginFlow,Clock Monotonic Time, s/totalTime/" \ -e "s/^/$NOW,/" # The output should contain fields for the identifier, name, type, unit, then a list of recorded values (normally 5)