Skip to content

Comments

Added functionality to show stats for function defined in specific location#17

Closed
ericremoreynolds wants to merge 1 commit intoymichael:masterfrom
xlwings:master
Closed

Added functionality to show stats for function defined in specific location#17
ericremoreynolds wants to merge 1 commit intoymichael:masterfrom
xlwings:master

Conversation

@ericremoreynolds
Copy link

Hi,

With this PR I have added a query argument 'func_loc' which allows you to filter by the filename and line number where a function is defined, in addition to the function name. Also, in the main stats (print_stats) the filename:lineno part gets 'linkified' appropriately.

It's probably easier if you just check it out yourself as it's pretty self-explanatory once you see what it does.

Let me know what you think and thanks for this useful tool which makes cProfile a whole load easier to use.

Regards,

Eric

@deanmalmgren
Copy link
Contributor

#22 should address this as well, I think.

@xlwings xlwings closed this by deleting the head repository Jan 16, 2025
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