3 ms·
Have you looked at Yappi[0]? I use it in combination with kcachegrind[1] (call graph viewer) and the combination has been extremely useful in eliminating bottle
by Jugurtha 7y ago
Have you looked at Yappi[0]? I use it in combination with kcachegrind[1] (call graph viewer) and the combination has been extremely useful in eliminating bottlenecks across entire programs.
Side note: I also used pyreverse, now part of pylint, to diagram entire projects and get a class hierarchy. It helped tremendously in refactoring and decoupling code through whole projects, finding redundancies, and have a better architecture.
I'll have a look at py-spy. Thanks for that.
[0]: https://pypi.org/project/yappi/ https://pypi.org/project/yappi/
[1]: https://kcachegrind.github.io/html/Home.html https://kcachegrind.github.io/html/Home.html