# Python profiling 101

- Institution: CERN
- Department: IT Lightning Talks (ITLT)
- Speaker: Pawel SZOSTEK
- Year: 2014
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3009587)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

Python code is much easier to write than C, yet much less efficient. It's often assumed that Python is not performance-oriented and therefore making effort to optimize it doesn't pay off. While in many cases it's true, at a certain moment of a development, especially right before reaching production-ready state, it might turn out that a Python code runs slowly and one needs to find a culprit. In this talk I'll not tell how to make your program faster. Instead, I'll show different techniques to look for the bottlenecks in the code. The presentation will be built around a live demo using real-life Python code..

0:00:00 Slide 1

0:03:00 Slide 2

0:03:05 Slide 3

0:03:17 Slide 4

0:03:37 Slide 5

0:03:41 Slide 6

0:03:46 Slide 7

0:04:19 Slide 8

0:04:23 Slide 9

0:04:27 Slide 10

0:04:47 Slide 11

0:05:01 Slide 12

0:05:18 Slide 13

0:05:22 Slide 14

0:05:37 Slide 15

0:05:46 Slide 16

0:06:26 Slide 17

0:06:31 Slide 18

0:06:46 Slide 19

0:06:56 Slide 20

0:07:02 Slide 21

0:07:09 Slide 22

0:07:13 Slide 23

0:07:26 Slide 24

0:07:57 Slide 25

0:08:13 Slide 26

## Lectures

1. [Python profiling 101](https://invisiblenetwork.ai/learn/cern/3009587/aa6205366954), 10 min (CERN's player)
