github / github/codeql-cli-binaries

Single predicate causing bottleneck in queries

Aperta
#42 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
CLI Complexity: High enhancement
Lingua principale
Nessun dato sulla lingua
Stelle
1k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
devtools, performance
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.