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

PoC: compare-performance of external logs #3817

Open
wants to merge 7 commits into
base: hackathon/compare-perf
Choose a base branch
from

Conversation

esbena
Copy link

@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
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
Author

Choose a reason for hiding this comment

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

fixed

Copy link
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

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