mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C#: Remove timing values from extractor telemetry query
This commit is contained in:
@@ -136,14 +136,6 @@ predicate analyzerAssemblies(string key, float value) {
|
||||
value = 1.0
|
||||
}
|
||||
|
||||
predicate timingValues(string key, float value) {
|
||||
exists(Compilation c |
|
||||
key = "Total elapsed seconds" and value = c.getElapsedSeconds()
|
||||
or
|
||||
key = "Extractor elapsed seconds" and value = c.getExtractorElapsedSeconds()
|
||||
)
|
||||
}
|
||||
|
||||
from string key, float value
|
||||
where
|
||||
(
|
||||
@@ -173,8 +165,7 @@ where
|
||||
ExprStatsReport::numberOfOk(key, value) or
|
||||
ExprStatsReport::numberOfNotOk(key, value) or
|
||||
ExprStatsReport::percentageOfOk(key, value) or
|
||||
analyzerAssemblies(key, value) or
|
||||
timingValues(key, value)
|
||||
analyzerAssemblies(key, value)
|
||||
) and
|
||||
/* Infinity */
|
||||
value != 1.0 / 0.0 and
|
||||
|
||||
Reference in New Issue
Block a user