News for hackers. Stuff that matters.
Re:Hunting Performance in Python Code: Measuring Memory Cons... by dom0 on Thursday June 01, 2017 @12:24PM (#14461676)
Couple notes about cProfile

- The slowdown is difficult to predict and somewhat unstable; never compare timings from runs with/without cProfile

- It's a deterministic, wall-clock profiler

- pyprof2calltree & kcachegrind.

- Loading a profile file = arbitrary code execution. Don't ever load a profile file you did not generate yourself.

Re:Hunting Performance in Python Code: Measuring Memory Cons... by szatkus on Friday June 02, 2017 @03:34AM (#14468164)
I find SnakeViz much more simple and user-friendly.