Skip to content

PoC: compare-performance of external logs #3817

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

Merged
merged 8 commits into from
Nov 15, 2024

Conversation

esbena
Copy link
Contributor

@esbena esbena commented Nov 14, 2024

Completes the command codeQL.compare-performance.downloadExternalLogs story.

If esbena/auto/esbena/more-downloads/230f947/1731498635271 is entered as the experiment in the prompt for the CodeQL: Download External Logs for Performance Comparison command, then the remote logs will be downloaded, processed, and used in the comparison view.

Also turns the jsonl parser into a streaming parser with better logging

@esbena esbena requested a review from a team as a code owner November 14, 2024 13:55
@esbena esbena requested a review from asgerf November 14, 2024 13:57
const tasksDir = join(dir, "tasks");
await ensureDir(tasksDir);
// XXX hardcoded path
const dca = "/Users/esbena/Documents/codeql-dca/dca";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this won't work for anyone else. Is there an easy way around this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. I forgot about that hardcoding! Let me see what can be done.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you now need "codeql-dca.dir": "/Users/esbena/Documents/codeql-dca" in settings.json

@asgerf asgerf merged commit cf29df5 into hackathon/compare-perf Nov 15, 2024
13 checks passed
@asgerf asgerf deleted the esbena/fetch-logs-through-dca branch November 15, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants