FOSSMeet 2016

FOSSMeet is an annual event at NIT Calicut that brings together the Free and Open Source Community from around the country.

Jackson Isaac

@jacksonisaac

Python Code Testing using profilers

Submitted Dec 10, 2015

This talk will cover about how we can profile python code using line_profiler and improve the code.

After this talk, the audience will have a clear view about code profiling, understanding it’s output and how can we improve our code and comparing the results.

Outline

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

Speaker bio

Jackson Isaac is a Final year student pursuing B.Tech Computer Science Engineering from Amrita Vishwa Vidyapeetham, Kollam.

He successfully completed his GSoC 2015 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 3 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.

Slides

https://www.slideshare.net/JacksonIsaac1994/python-code-profiling-jackson-isaac-50204059

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

FOSSMeet is an annual event on Free and Open Source Software, conducted at National Institute of Technology, Calicut. The funnel is a space for proposals and voting on events. more