Python code profiling using line_profiler

Jackson Isaac (~jackson)


5

Votes

Description:

The audience will learn about line_profiler, it's use in Software Development and how it helps in making the software efficient by calculating the Time used by the modules and each instructions under them.

The talk will show how we can use line_profilers with Python by testing it live on a demo application written using pygtk and how to analyze the results and optimize the code.

Talk Outline:

  • Introduction to Python profilers.
  • History of line_profiler
  • How to install line_profiler, using pip and from source (for Mac users).
  • Adding decorator to the code for profiling.
  • Steps to run profiler and how to check the profiled output.
  • Demo.
  • Understanding the Output.
  • Advantages of Profilers
  • Q & A

Content URLs:

<iframe src="//www.slideshare.net/slideshow/embed_code/key/MX0LbRz6H6rnmu" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="//www.slideshare.net/JacksonIsaac1994/python-code-profiling-jackson-isaac-50204059" title="Python code profiling - Jackson Isaac" target="_blank">Python code profiling - Jackson Isaac</a> </strong> from <strong><a href="//www.slideshare.net/JacksonIsaac1994" target="_blank">Jackson Isaac</a></strong> </div>

Speaker Info:

Jackson Isaac is a Final year student pursuing B.Tech Computer Science Engineering from Amrita Vishwa Vidyapeetham, Kollam. He is currently a GSoC 2015 Student developer with The MacPorts Project. He has contributed to open source projects namely GNOME-Music, Mozilla Firefox, Mozillians and Mediawiki-Vagrant. He has been using python technologies like Clone-Digger and line_profiler in GNOME-Music and other small personal projects since 2 years. He has also presented a talk on the 'Python3 Code profiling using Line_profiler' at FUDCon 2015, Pune and 'Contributing to GNOME-Music' at FOSSMeet '14, NIT Calicut.

Speaker Links:

http://fudcon.in/fudcon-pune-2015/sessions/python3-code-profiling-using-lineprofiler

http://isaacjackson.me

https://www.jacksonisaac.wordpress.com

https://www.github.com/jacksonisaac

http://fossmeet.in/2014/

Section: Testing
Type: Talks
Target Audience: Intermediate
Last Updated: