Python Performance Optimization

Python Performance Optimization

Python Performance Optimization

Increase Execution Time

Language: english

Note: 4.3/5 (27 notes) 9,234 students

Instructor(s): Frank Anemaet

Last update: 2021-09-07

What you’ll learn

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



  • Basic Python knowledge required



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


Course content

  • Introduction
    • Introduction
    • Measure Execution Time
    • Cprofile
    • More on profiling
    • Quiz
  • Quick Tips
    • Tip 1
    • Tip 2
    • Quiz
  • Optimizing code
    • Introduction
    • Builtin Functions
    • Additional Info
    • Functions
    • Lists
    • Additional info
    • Modules
    • Concat
    • Quiz
  • Speed Trick
    • Introduction
    • Speed Trick
    • Speed Trick: Additional


Python Performance OptimizationPython Performance Optimization

Time remaining or 296 enrolls left


Don’t miss any coupons by joining our Telegram group 

Udemy Coupon Code 100% off | Udemy Free Course | Udemy offer | Course with certificate