I'm trying to start and stop the line profiling of a Python function multiple times during runtime. Therefore I'd like to reset the already collected ...
I'm trying to start and stop the line profiling of a Python function multiple times during runtime. Therefore I'd like to reset the already collected ...
In jupyter Notebook, I am trying to use %lprun on nested functions but I do not sucess. The following code, in a notebook cell outputs the message ...
As I said in the title importing line_profiler leads to segmentation fault. I am running python 3.9.7/conda-forge on a macbook pro m1 max. Does anyone ...
I have two functions which i profile. If i run kernprof, it says that my first function runs in 75 seconds but the second which is python-cythonized i ...
enviroment python 3.9 line-profiler 3.1.0 I installed line-profiler by pip. sudo pip3 install line-profiler detail add_function and runcal ...
I have a module named my_module with the following structure. Here, I use python -m my_module.test, in order to run the test because it uses relati ...
I have two programs in python which do the same thing, in line profiler one program for certain test is faster than another but in pytest --durations( ...
I've just built a Raspberry Pi as a basic speed camera and want to make some tweaks to existing code. I've programmed before in various languages on a ...
I would like to profile a code using line_profiler, where there are threads. With a native/naive code implementation, the following code will not capt ...
Here's a strange one. First of all: This is NOT a problem with the encoding of a python script file that I have written myself or am importing (see e ...
I am using git to clone https://github.com/rkern/line_profiler.git on Windows 10. It is erroring out with this error but I have this installed (see im ...
I am trying to install Django's debug_toolbar line profiler. As per the docs, I need to install Mercurial. I have installed Mercurial on my Windows m ...
I'm trying to use liner_profiler library in jupyter notebook with cython function. It is working only halfway. The result I get only consist of first ...
When I tried to install "line_profiler" in QTconsole using But it failed as saying, "Failed building wheel for line-profiler". I do not know why t ...
When running kernprof: The output is stored in a binary file, which can be read in the terminal/command line. Is there a way to output the results ...
I have some existing code that I'm trying to profile. I can successfully line profile class methods by adding a @profile decorator using kernprof. Is ...
I have a 2D numpy array, and I want a function operating on col1 and col2 of the array, If 'M' is the number of unique values from col1 and 'N' is the ...
Is it possible to use line_profiler with Numba? Calling %lprun on a function decorated with @numba.jit returns an empty profile: Timer unit: 1e-06 s ...
I have a numpy 2D array containing integers between 0 to 100. For a particular column, I want to map the values in the following way: This is my co ...
I am trying to partition a 2D numpy array into 2 separate numpy arrays based on the contents of a particular column. This is my code: Note: For my ...