Emin Martinian - Statistical Profiling (and other fun with the sys module) - PyCon 2019
"Speaker: Emin Martinian
Profiling involves computing a set of data about how often and how
long various parts of your program are executed. Profiling is useful
to understand what makes your program slow and how you can improve
it. After a quick review of deterministic profiling tools and
techniques, I will describe how you can do statistical profiling with
existing packages or write your own from scratch.
Statistical profiling involves occasionally sampling what your program
is doing instead of watching each line or function. A key feature of
statistical profiling is that by using a moderate sampling frequency,
you can profile your production code with almost no overhead. This lets
you find the actual bottlenecks in real use cases.
The core technical focus of the talk is python's sys module and how it
lets you easily examine a running program. I also describe some tricks
to be aware of related to threading, context switches, locks, and so on.
At the conclusion of the talk, you will hopefully understand how to use
an existing statistical profiler or write a customized version yourself.
Slides can be found at: https://speakerdeck.com/pycon2019 and https://github.com/PyCon/2019-slides"
Видео Emin Martinian - Statistical Profiling (and other fun with the sys module) - PyCon 2019 канала PyCon 2019
Profiling involves computing a set of data about how often and how
long various parts of your program are executed. Profiling is useful
to understand what makes your program slow and how you can improve
it. After a quick review of deterministic profiling tools and
techniques, I will describe how you can do statistical profiling with
existing packages or write your own from scratch.
Statistical profiling involves occasionally sampling what your program
is doing instead of watching each line or function. A key feature of
statistical profiling is that by using a moderate sampling frequency,
you can profile your production code with almost no overhead. This lets
you find the actual bottlenecks in real use cases.
The core technical focus of the talk is python's sys module and how it
lets you easily examine a running program. I also describe some tricks
to be aware of related to threading, context switches, locks, and so on.
At the conclusion of the talk, you will hopefully understand how to use
an existing statistical profiler or write a customized version yourself.
Slides can be found at: https://speakerdeck.com/pycon2019 and https://github.com/PyCon/2019-slides"
Видео Emin Martinian - Statistical Profiling (and other fun with the sys module) - PyCon 2019 канала PyCon 2019
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Alex Landau - Building a Culture of Observability - PyCon 2019](https://i.ytimg.com/vi/-6Hk9rcgM94/default.jpg)
![Adopting QPython in smartphones for teaching/learning computational science and engineering](https://i.ytimg.com/vi/4SpeUQjMex4/default.jpg)
![Matthew Seal - Programmatic Notebooks with papermill - PyCon 2019](https://i.ytimg.com/vi/vBEEL274sco/default.jpg)
![Abrar Ahmed Sheikh - A Guide to Software Engineering for Visually Impaired - PyCon 2019](https://i.ytimg.com/vi/tJSSU6TO8EY/default.jpg)
![Paul Vincent Craven - Build Your Own 2D Platformer Game - PyCon 2019](https://i.ytimg.com/vi/Djtm1DzWSvo/default.jpg)
![Duy Nguyen - Scraping a Million Pokemon Battles: Distributed Systems By Example - PyCon 2019](https://i.ytimg.com/vi/QvZqttX9uXc/default.jpg)
![To trust or to test?: Automated testing of scientific projects with pytest - PyCon 2019](https://i.ytimg.com/vi/G-MAMrJ-CSA/default.jpg)
![Final Remarks and Conference Close - PyCon 2019](https://i.ytimg.com/vi/ADutU_sFXXA/default.jpg)
![Thursday Bram - Writing about Python (Even When You Hate Writing) - PyCon 2019](https://i.ytimg.com/vi/lfmMB8HohyY/default.jpg)
![Kushal Das - Building reproducible Python applications for secured environments - PyCon 2019](https://i.ytimg.com/vi/wRHi8Ui5vWA/default.jpg)
![Faris Chebib - Help! I'm now the leader of our Meetup group! - PyCon 2019](https://i.ytimg.com/vi/h5YrZt788CY/default.jpg)
![Nicolle Cysneiros - Eita! Why Internationalization and Localization matter - PyCon 2019](https://i.ytimg.com/vi/2eF_MhgplQ8/default.jpg)
![Hynek Schlawack - Maintaining a Python Project When It’s Not Your Job - PyCon 2019](https://i.ytimg.com/vi/9G2s1TN9QQY/default.jpg)
![Shauna Gordon-McKeon - A New Era in Python Governance - PyCon 2019](https://i.ytimg.com/vi/mAC83JVDzL8/default.jpg)
![Python Software Foundation Community Report and Community Service Awards - PyCon 2019](https://i.ytimg.com/vi/P4IfFLAX9hY/default.jpg)
![Moses Schwartz, Andy Culler - A Snake in the Bits: Security Automation with Python - PyCon 2019](https://i.ytimg.com/vi/Nzcw9xolvow/default.jpg)
![Emily Morehouse - What To Expect When You’re Expecting: A Hands-On Guide to Regression Testing](https://i.ytimg.com/vi/AAyQpMmbIKU/default.jpg)
![Pablo Galindo Salgado - Time to take out the rubbish: garbage collector - PyCon 2019](https://i.ytimg.com/vi/CLW5Lyc1FN8/default.jpg)
![Paul Ganssle - Working with Time Zones: Everything You Wish You Didn't Need to Know - PyCon 2019](https://i.ytimg.com/vi/rz3D8VG_2TY/default.jpg)
![Sarah Withee - Building an Open Source Artificial Pancreas - PyCon 2019](https://i.ytimg.com/vi/1kT1VoX7VAs/default.jpg)