diff --git a/test/Performance/report.sql b/test/Performance/report.sql new file mode 100644 index 00000000..981aa1cc --- /dev/null +++ b/test/Performance/report.sql @@ -0,0 +1,24 @@ +--The script can be run to read the results +select t1.ResultId, Test, Client, Server, Driver, Duration, Memory, Success, Team, StartTime from +( +select pr.ResultId, pr.Success, pt.TestName as Test, cl.HostName as Client, srv.HostName as Server, +tm.TeamName as Team, st.value as Driver, bi.value as Duration, bi2.value as Memory, dt.value as StartTime from +KeyValueTableBigInt bi, +KeyValueTableBigInt bi2, +KeyValueTableString st, +KeyValueTableDate dt, +PerformanceResults pr, +Clients cl, +PerformanceTests pt, +Teams tm, +Servers srv +where bi.name = 'duration' and bi.ResultId = pr.ResultId +and bi2.name = 'memory' and bi2.ResultId = pr.ResultId +and dt.name = 'startTime' and dt.ResultId = pr.ResultId +and st.name = 'driver' and st.ResultId = pr.ResultId +and cl.ClientId = pr.ClientId +and pt.TestId = pr.TestId +and tm.TeamId = pr.TeamId +and srv.ServerId = pr.ServerId +) t1 where StartTime like '%2017-06-23%' +