github / github/codeql-cli-binaries
Single predicate causing bottleneck in queries
- Dominant language
- No language data
- Stars
- 1k
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100