github / github/codeql-cli-binaries

Single predicate causing bottleneck in queries

Offen
#42 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
CLI Complexity: High enhancement
Vorherrschende Sprache
Keine Sprachdaten
Sterne
1k
Forks
184
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

codeql query run --threads=0 still results in only one core being utilized, which severely affects query speed. I typically see this in
my log file:

Creating executor with (many) threads.
...
(0s) Starting to evaluate predicate ...

With 100% usage on 1 core.

Is Visual Studio more performant for this?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the report with `codeql query run --threads=0` and compare the executor log with observed CPU usage. Investigate the single-predicate evaluation path and determine whether the behavior is expected or a performance defect; done means documenting the cause and an actionable resolution or limitation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
devtools, performance
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.