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

Allow configuring a custom JIT metrics path #354

Open
MatejKafka opened this issue Aug 24, 2024 · 0 comments
Open

Allow configuring a custom JIT metrics path #354

MatejKafka opened this issue Aug 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MatejKafka
Copy link

Problem Description

dnSpy stores JIT metrics in AppData/Local/dnSpy. I would like to use dnSpy as a portable app and redirect all config/data files to a custom directory. I can change the settings path using --settings-file, but there's no way to change the metrics path:

return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), Constants.DnSpyFile, "Startup" + (IntPtr.Size * 8).ToString(), frameworkDir);

Proposal

Add a --profile-dir CLI argument to dnSpy.exe, which changes where the metrics and profiles are stored to the passed path.

Alternatives

No response

Additional Context

No response

@MatejKafka MatejKafka added the enhancement New feature or request label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant