Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Performance Optimization
Rating: 4.1 out of 5(160 ratings)
30,717 students

Python Performance Optimization

Increase Execution Time
Created byFrank Anemaet
Last updated 9/2021
English

What you'll learn

  • Make Python run faster
  • Tricks to speed up your code
  • How to call C code from Python
  • Best practices

Course content

4 sections17 lectures35m total length
  • Introduction0:25
  • Measure Execution Time3:20
  • Cprofile1:35
  • More on profiling0:54
  • Quiz

Requirements

  • Basic Python knowledge required

Description

Python is an interpreted, object-oriented programming language. it incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. python combines remarkable power with very clear syntax.

Despite it's popularity, it's often accused of being slow. In this course you will learn how to optimize the performance of your Python code. You will learn various tricks to reduce execution time.

A lot of people have different definitions of performance. When I say “performance”, I’m talking about:

How quickly does the code execute? Meaning how long until the output is returned?

Of course, there are other metrics for measuring the performance of a system, but this code has a focus on speed.

The faster your code executes, the better it is. Who has time to wait for computer execution? Especially when it's not necessary. If you come from another programming language, you may not know about some ways to speed up your Python code. If you are a Python coder, you may not know about these tricks either.

If you already know Python and want to optimize your code or increase your Python skills, this course is for you. This is an intermediate course, you should already know how to write Python code. But if you are a beginner with prior programming experience, you might be able to follow along with all the concepts explained in this course.


Who this course is for:

  • Python developers interested in Performance Optimization