{"id":181908,"xmlId":"nl.jusx.pycharm.lineprofiler","name":"Line Profiler","description":"<h1>A PyCharm Line Profiler plugin</h1>\n      This plugin uses the python line-profiler package to create and visualize line profiles into PyCharm.\n      The following data is displayed inline at the corresponding code:\n      <ul>\n        <li>% Time spent at line: colormapped and displayed numerically</li>\n        <li>Hits of line: displayed numerically</li>\n        <li>Time spent at line: displayed numerically</li>\n        <li>Time / hit spent at line: displayed numerically</li>\n      </ul>\n    <h1>Getting started</h1>\n    Profiling code with PyCharm Line Profiler is done in 3 steps:\n    <ol>\n      <li><b>import line-profiler-pycharm decorator</b><br>\n      Add the following import to the python files in which you want to profile functions:\n      <br><br>\n      from line_profiler_pycharm import profile<br><br>\n      </li><li><b>decorate your functions</b><br>\n      Decorate the functions you want to profile with the decorator:<br><br>\n      @profile<br>\n      def some_method():<br>\n      &nbsp;&nbsp;# some code you want to profile\n\n     </li>\n     <li><b>profile!</b><br>\n     Execute with 'Line Profile' that is installed with this plugin</li>\n     When the execution is finished, Line Profiler will visualize the profile automatically.\n    </ol>\n    See the screenshots for examples.\n    <h1>Helper package</h1>\n    As seen in 'Getting started', the plugin uses a helper package called 'line-profiler-pycharm'. The first time you profile your code with Line Profiler, the plugin will ask whether it should install this package into your python environment. <br>\n    Alternatively you can install the package yourself with pip: <br><br>\n    pip install line-profiler-pycharm\n\n    <h1>3rd party code</h1>\n    This project uses the following opensource software:\n    <ol>\n    <li>\n    <a href=\"https://pypi.org/project/line-profiler/\">line-profiler</a>\n    </li>\n    <li>\n    <a href=\"https://github.com/Jsalam/JViridis\">jViridis</a>\n    </li>\n    </ol>","tags":["Graphics","Code Tools","Tools Integration","Profiling","Debugging"],"vendor":"Justen Ingels","version":"1.7.0","notes":"<h3>Changed</h3>\n<ul><li>Plugin available for all future versions of jetbrains products</li></ul>","dependencies":["PythonCommon","com.intellij.modules.python","com.intellij.modules.platform"],"since":"203.0","size":288355,"sourceCodeUrl":"https://gitlab.com/line-profiler-pycharm/line-profiler-pycharm-plugin"}