github / github/codeql-cli-binaries

Single predicate causing bottleneck in queries

未關閉
#42 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
CLI Complexity: High enhancement
主要語言
沒有語言資料
星號
1k
分支
184
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

領域
devtools, performance
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。