Skip to content

WIP: Enable profiling#57

Open
jakirkham wants to merge 3 commits intonanshe-org:masterfrom
jakirkham:prof
Open

WIP: Enable profiling#57
jakirkham wants to merge 3 commits intonanshe-org:masterfrom
jakirkham:prof

Conversation

@jakirkham
Copy link
Member

This allows for Cython code to be profiled after it is built. For instance, one can use line_profiler to profile lineRankOrderFilter.

Note: It may be worth adding a build option to determine whether or not to enable profiling. Though this doesn't seem to make it that much slower (i.e. on the order of a few percent). Some thorough profiling is required before enabling this automatically.

@jakirkham jakirkham changed the title Enable profiling WIP: Enable profiling Dec 14, 2015
@jakirkham jakirkham force-pushed the prof branch 3 times, most recently from 80409e6 to eb5f63b Compare March 15, 2016 01:21
@jakirkham jakirkham force-pushed the prof branch 2 times, most recently from 8db9976 to 00fb4c7 Compare March 8, 2017 05:44
@jakirkham jakirkham force-pushed the prof branch 2 times, most recently from 592461a to 4119142 Compare July 12, 2017 14:17
@jakirkham
Copy link
Member Author

Would be great if we could optionally enable this somehow. cyminmax may have some useful bits that could be pulled over here.

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