profiling

  • 2024
  • 14. Apr 2024 python: line by line profiling (time, memory)
  • Line-By-Line Profiling with %lprun pip install line_profiler In notebook %load_ext line_profiler %lprun -f slow_func slow_func(value) Timer unit: 1e-09 s Total time: 0.000134558 s File: /tmp/ipykernel