Cargando…
Python profiling 101
<!--HTML-->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...
Autor principal: | |
---|---|
Lenguaje: | eng |
Publicado: |
2014
|
Materias: | |
Acceso en línea: | http://cds.cern.ch/record/1712530 |
Sumario: | <!--HTML-->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. |
---|