💾 Archived View for thebird.nl › gn-gemtext-threads › topics › profiling_python_code.gmi captured on 2023-03-20 at 17:57:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

Profiling Python code

As part of improving the system, there is need to identify and fix/improve the performance bottlenecks in the code. This document details examples of how one would run various profilers, for both GeneNetwork2 and GeneNetwork3

GeneNetwork3

cProfile

Syntax:

where

The output can be redirected, e.g.

which should help will separating errors from the performance data, for easier analysis

Tags