Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX: codeql database analyze should display timestamps #17928

Open
disconnect3d opened this issue Nov 7, 2024 · 1 comment
Open

UX: codeql database analyze should display timestamps #17928

disconnect3d opened this issue Nov 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@disconnect3d
Copy link
Contributor

disconnect3d commented Nov 7, 2024

When executing the codeql database analyze <db> [<opts>] -- <querysuite> the CodeQL runs the queries from the given query suite by first loading them, compiling a query plan and then evaluating the queries.

The evaluation of certain queries can have a very pessimistic execution time and in some cases, when a project (database) is huge or/and for complex or poorly written queries, the execution of a given query may never finish.

It would be awesome if the CodeQL CLI would show timestamps by default so that one could see when the Starting evaluation of <query> actually started to see how long it is being executed already, to decide whether to stop it etc.

Please see also: #17930 and #17929.

@jketema
Copy link
Contributor

jketema commented Nov 7, 2024

Hi @disconnect3d. Thanks for your suggestion, we'll take this into consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants