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

Enable cprofile on Cython code #6

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Enable cprofile on Cython code #6

merged 2 commits into from
Nov 25, 2024

Conversation

mtreglia-gpsw
Copy link

@mtreglia-gpsw mtreglia-gpsw commented May 15, 2024

This PR will add:

  • enable cprofile in Cython bindings
  • Add support for CYTHON_TRACE environment variable

Copy link

@lbertho-gpsw lbertho-gpsw left a comment

Choose a reason for hiding this comment

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

I don't know well cython but it looks good to me

This commit introduces the ability to enable line tracing in Cython for
profiling purposes. This is controlled by the CYTHON_TRACE environment variable.
When set, the 'linetrace' and 'binding' Cython directives are enabled,
and the CYTHON_TRACE macro is defined.
@mtreglia-gpsw mtreglia-gpsw merged commit ed105b7 into main Nov 25, 2024
13 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.

3 participants