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

Steer suggested optimizations based on profile results #553

Open
emeryberger opened this issue Jan 22, 2023 · 1 comment
Open

Steer suggested optimizations based on profile results #553

emeryberger opened this issue Jan 22, 2023 · 1 comment
Assignees

Comments

@emeryberger
Copy link
Member

Is your feature request related to a problem? Please describe.
Right now, Scalene's proposed optimizations focus exclusively on CPU and/or GPU time. We can do better with the information Scalene already has collected.

Describe the solution you'd like
Offer suggestions tailored to the profiler results. For example, if the line or region contains considerable Python memory allocation (for some definition of considerable), propose an optimization aimed at reducing this or using native data structures instead. Similar suggestions would make sense to target reductions in copy volume or to reduce GPU memory. We might also extend Scalene to offer solutions tailored to multicore if the number of cores being utilized is low (or if it is requested in a checkbox under Advanced Settings, as one can now do with GPU optimizations).

@emeryberger emeryberger self-assigned this Jan 22, 2023
@emeryberger
Copy link
Member Author

The repository version now includes radio boxes under Advanced settings that let users choose between performance and memory optimizations, so this can be manually selected.

Screenshot 2023-01-23 at 11 22 28 AM

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

No branches or pull requests

1 participant