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

Try default xperf.exe location if not in path; increase buffer size #354

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

vvuk
Copy link
Collaborator

@vvuk vvuk commented Sep 9, 2024

Looks for xperf.exe in the default install location for WPT. Ran into an issue where if you're trying to automate WPT install and then run a command elevated via gsudo in CI, PATH changes get.. very wonky.

Also ups the buffer size to 1MB from 64kb. The default buffer count is 64, so this will use 64MB of memory, up from 4MB. Seems totally reasonable on anything you'd be profiling on, and greatly reduces the chance of dropped events.

@vvuk vvuk requested a review from mstange September 9, 2024 22:57
@mstange mstange merged commit 778ff6a into main Oct 4, 2024
15 checks passed
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