About 8,300 results
Open links in new tab
  1. line-profiler · PyPI

    Feb 23, 2026 · line_profiler is a module for doing line-by-line profiling of functions. kernprof is a convenient script for running either line_profiler or the Python standard library’s cProfile or profile …

  2. GitHub - pyutils/line_profiler: Line-by-line profiling for Python

    line_profiler is a module for doing line-by-line profiling of functions. kernprof is a convenient script for running either line_profiler or the Python standard library's cProfile or profile modules, depending on …

  3. Line Profilerline_profiler 5.0.2 documentation - Read the Docs

    Line Profiler Basic Usage To demonstrate line profiling, we first need to generate a Python script to profile. Write the following code to a file called demo_primes.py: from line_profiler import profile …

  4. How can I profile Python code line-by-line? - Stack Overflow

    I've been using cProfile to profile my code, and it's been working great. I also use gprof2dot.py to visualize the results (makes it a little clearer). However, cProfile (and most other Python profilers I've …

  5. line_profiler | Python Tools – Real Python

    line_profiler is a line-by-line performance profiler for Python that measures execution time for each line within selected functions and reports detailed timing statistics.

  6. 4.3. Profiling your code line-by-line with line_profiler

    Profiling your code line-by-line with line_profiler This is one of the 100+ free recipes of the IPython Cookbook, Second Edition, by Cyrille Rossant, a guide to numerical computing and data science in …

  7. Releases: pyutils/line_profiler - GitHub

    Feb 23, 2026 · Line-by-line profiling for Python. Contribute to pyutils/line_profiler development by creating an account on GitHub.

  8. pytest-line-profiler · PyPI

    Aug 10, 2023 · Project description pytest-line-profiler line-by-line profiling for code executed by pytest, using line-profiler. Why? Line profiler is a wonderful tool to easily identify bottlenecks inside specific …

  9. Line Profilerline_profiler 4.1.0 documentation - Read the Docs

    Basic Usage To demonstrate line profiling, we first need to generate a Python script to profile. Write the following code to a file called demo_primes.py. from line_profiler import profile @profile def …

  10. Performance Profiling & Optimisation (Python): Line Level Profiling

    May 11, 2025 · line_profiler line_profiler is a line-level profiler which provides both text output and visualisation. It is not part of the Python standard library, and therefore must be installed via pip.