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

improve profiling tools #762

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

improve profiling tools #762

wants to merge 4 commits into from

Conversation

gertjanvanzwieten
Copy link
Contributor

No description provided.

This patch adds the evaluable.eval function for dense evaluation. For now, the
function serves merely to centralize some of the preprocessing logic required
for evaluation, most notably optimized_for_numpy. In future, the function can
be extended to avoid Tuples in case multiple arrays are evaluated jointly.
This patch removes the Array.session context, and moves the profiling logic to
the newly introduced evaluable.eval function instead.
This patch logs all profile info at debug level and groups it in a 'profile'
context for clarity. The graphviz output is renamed to graph.svg.
This patch restores the progress context (the loop percentage counter) when
profiling is enabled.
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.

1 participant