About 2,130,000 results
Open links in new tab
  1. profiling - Interactive Python: cannot get `%lprun` to work, …

    Nov 13, 2013 · Problem Most iPython "magic functions" work fine for me right off the bat: %hist, %time, %prun, etc. However, I noticed that %lprun could not be found with iPython as I'd …

  2. How do I read the output of the IPython %prun (profiler) command?

    In [303]: %prun my_function() 384707 function calls (378009 primitive calls) in 83.116 CPU seconds Ordered by: internal time ncalls tottime percall cumtime percall …

  3. What does 'git fetch -p' (or --prune) mean - Stack Overflow

    I had run this command with misunderstandings while I was deleting my one local branch, git branch -D branch-name git fetch -p but I have seen their is a list of branch names that are …

  4. How can I remove old and unused Docker images? - Stack Overflow

    Jul 8, 2017 · Update Sept. 2016: Docker 1.13: PR 26108 and commit 86de7c0 introduce a few new commands to help facilitate visualizing how much space the docker daemon data is …

  5. git - How to prune local tracking branches that do not exist on …

    With git remote prune origin I can remove the local branches that are not on the remote any more. But I also want to remove local branches that were created from those remote branches (a …

  6. how profiling class method using IPython %lprun magic function

    How can I profile a method of an object called inside a function? I am using the %lprun magic in a jupyter notebook. Please see the following ex.py example file: class foo(): def __init__(self...

  7. Getting all command line args when OpenMPI `prun` calls a C …

    Jan 14, 2023 · Question: I want to create an array of strings in a C program whose elements are all the command line arguments used to execute a C-program called by prun (see OpenMPI: …

  8. Jupyter %%prun magic output not displayed properly in VS Code

    Sep 23, 2022 · Since very recently I have a problem where the output of %%prun is not displayed properly in VS Code Jupyter (all output is on one line instead of in a nicely formatted table).

  9. How do I assign the result of iPython profiler %%prun -r to a …

    Apr 21, 2016 · a = %prun -r ... But cell magics have to start at the beginning of the cell, with nothing before them.

  10. Python Function to test ping - Stack Overflow

    I'm trying to create a function that I can call on a timed basis to check for good ping and return the result so I can update the on-screen display. I am new to python so I don't fully understand h...