Python Performance
Год выпуска: 2023
Производитель: Pluralsight
Сайт производителя://app.pluralsight.com/library/courses/python-3-performance
Автор: Dan Tofan
Продолжительность: 2h 58m
Тип раздаваемого материала: Видеоурок
Язык: Английский
Описание:
Python developers love Python's high productivity. Unfortunately, many Python applications suffer from slow performance. This course is about concrete approaches for improving the performance of your Python applications.
Are your Python applications running slowly? If yes, this Python 3 Performance course is going to give you concrete approaches to increase the speed of your Python applications. First, you will learn how to measure the performance of Python applications. Next, you will discover how to write faster Python code by using the right data structures. Finally, you will learn how to speed up your applications using threads, asyncio, and more processes. Take this course and make your Python applications faster!
Prerequisites:
Python
Содержание
1. Course Overview
1. Course Overview
2. Measuring Performance
1. Understanding Performance
2. Strategy to Improve Performance
3. Basic Ways to Measure Performance
4. Why Profile
5. More Profilers
6. Visualizing Profiling Data
3. Using the Right Data Structures
1. Which Data Structure Is Faster
2. Comparing Lists and Arrays
3. Comparing Sets and Tuples
4. Comparing Queues and Deques
5. Using Dictionaries
6. Comparing Dataclass, Dictionary, and NamedTuple
4. Optimizing Python Code
1. Caching
2. For vs. List Comprehension
3. Efficient Iterations with Generators
4. Fast Concatenation of Strings
5. Permission or Forgiveness
6. Faster Functions
7. Optimizing Numerical Calculations
8. Interpreter-based Optimizations
9. Risky Optimizations
5. Using More Threads
1. What Are Threads
2. Challenges of Working with Threads
3. When to Use Multithreading
6. Using Asynchronous Code
1. Asynchronous Code
2. Challenges of Working with asyncio
3. When to Use asyncio
7. Using More Processes
1. Process-based Parallelism
2. Processes Communication
3. When to Use More Processes
4. Scaling from One to More Machines
5. Summary
Файлы примеров: присутствуют
Субтитры: присутствуют
Формат видео: MP4
Видео: H.264/AVC, 1280x720, 16:9, 29fps, 162 kb/s
Аудио: AAC, 48000Hz, 96 kbit/s, 2 channels