Concurrency and Performance in Python

Making Python programs faster and more responsive: profiling, threads, processes, asyncio and efficient numeric code.

PYTH-250 Year 2 3 credits 12 lessons planned ▶ Video lessons coming soon

Offered by HSM University · Python Programming

Course content

  1. 1Measuring before optimizingComing
  2. 2Profiling Python codeComing
  3. 3Efficient use of built-in data structuresComing
  4. 4Threads and the global interpreter lockComing
  5. 5MultiprocessingComing
  6. 6Concurrent futuresComing
  7. 7Asynchronous programming with asyncioComing
  8. 8Async web requestsComing
  9. 9NumPy for fast numeric codeComing
  10. 10Caching and memoizationComing
  11. 11Memory use and large dataComing
  12. 12Capstone: speeding up a slow programComing

Requirements

Recommended background. You can start any course at any time.

Description

Making Python programs faster and more responsive: profiling, threads, processes, asyncio and efficient numeric code.

Part of the Information Technology stream, typically taken in year 2.