CodeQL being very slow when passed --command parameter
Open
C++
question
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 141
Description
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"
```
Contributor guide
Assessment
This issue has not been assessed yet.