You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, thanks for the tool, I was trying a sample with Django application to profile the complete functions (individual functions and methods with in the class.)
custom profiler decorator, do we have any functions in line_profiler that achieve? and also while i am performing with static methods i am facing a challenge that, expected arguments were 1 but 2 were given.
Do you have any suggestions that I can modify the code to support static methods. Thanks for your time
The text was updated successfully, but these errors were encountered:
You might want to look into the "autoprofile" feature, which adds profile decorators (statically via AST transforms, before the code is even executed). It doesn't have this CSV feature, but you might not want to perform that for every function as it will add a lot of overhead, instead it might be better to collect all of this information from a single profiling object at the end of the script.
windows 10
python 3.11
line_profiler 4.1.3
Hi Team, thanks for the tool, I was trying a sample with Django application to profile the complete functions (individual functions and methods with in the class.)
custom profiler decorator, do we have any functions in line_profiler that achieve? and also while i am performing with static methods i am facing a challenge that, expected arguments were 1 but 2 were given.
Do you have any suggestions that I can modify the code to support static methods. Thanks for your time
The text was updated successfully, but these errors were encountered: