Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Hunting Performance in Python Code: Measuring Memory Consumption. Parent comment
- 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.
- 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.