소스 검색

Merge pull request #14184 from wangkx/h24580

HPCC-24580 Remove expensive operations from sorting WU on TotalThorTime

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 4 년 전
부모
커밋
9d0892824a
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      common/workunit/workunit.cpp

+ 1 - 7
common/workunit/workunit.cpp

@@ -4770,13 +4770,7 @@ EnumMapping workunitSortFields[] =
    { WUSFwuid, "@" },
    { WUSFecl, "Query/ShortText" },
    { WUSFfileread, "FilesRead/File/@name" },
-   { WUSFtotalthortime, "@totalThorTime|"
-                        "Statistics/Statistic[@c='summary'][@creator='thor'][@kind='TimeElapsed']/@value|"
-                        "Statistics/Statistic[@c='summary'][@creator='hthor'][@kind='TimeElapsed']/@value|"
-                        "Statistics/Statistic[@c='summary'][@creator='roxie'][@kind='TimeElapsed']/@value|"
-                        "Statistics/Statistic[@desc='Total thor time']/@value|"
-                        "Timings/Timing[@name='Total thor time']/@duration"                                 //Use Statistics first. If not found, use Timings
-   },
+   { WUSFtotalthortime, "@totalThorTime" },
    { WUSFwuidhigh, "@" },
    { WUSFwildwuid, "@" },
    { WUSFappvalue, "Application" },