github / github/codeql

CodeQL being very slow when passed --command parameter

Offen
#16,361 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
C++ question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

I am trying to run CodeQL on ServiceFabric codebase and its being very slow when I pass `--command`. My understanding is when we pass `--command` CodQL invokes this command at the source code directory and analyzes the output. Running `sfbuild -release` takes 2 hours and running it as part of CodeQL took ~48 hours. I am wondering why it's being slow? is there a way to run "sfbuild -release" separately and then pass the output to CodeQL afterwards? thank you.

```shell
codeql database create --language=cpp --source-root=C:\WindowsFabric testcodeqldb --command="sfbuild -release"
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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