rkern / line_profiler

(OLD REPO) Line-by-line profiling for Python - Current repo ->
https://github.com/pyutils/line_profiler
Other
3.6k stars 254 forks source link

Profiling async functions #103

Closed Daenyth closed 6 years ago

Daenyth commented 6 years ago

I have some async def functions in my codebase, and when I run line_profiler over my script, the results come back blank with short timing for them. How can I accurately profile them?

xavieryao commented 6 years ago

Perhaps this will help? https://github.com/rkern/line_profiler/pull/75 Haven't tried myself.

xavieryao commented 6 years ago

@Daenyth It works perfectly.

caethan commented 6 years ago

75 merged into master.