Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Skill · Development · Go deeper into a language: concurrency, performance, metaprogramming

Profile and optimize a Python program, up to a native extension

Measure before optimizing a Python program with timeit, cProfile and tracemalloc, speed up the hot spots, and go as far as a compiled extension.

Start lesson 1The Development domain

Lessons

How to learn it

4 lessons, about ~2 h 55, in program order. Each lesson ends with its quiz.

The program

4 lessons · ~2 h 55

Part 1 · Volet 2 · Performance et mémoire (in French) 3 lessons · ~1 h 55

  1. 1Profiler son code (in French)· 40 min
  2. 2Optimiser son code (in French)· 40 min
  3. 3La gestion de la mémoire (in French)· 35 min

Part 2 · Volet 4 · Industrialiser (in French) 1 lesson · ~1 h 00

  1. 4Cython (in French)· 60 min

Beyond the lessons

Assess, practise, pass the proof

Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.

Assess yourself

4 quizzes

At the end of the lessons: passed at 70%, they confirm the skill.

Practice

No guided lab

No guided lab practices it yet.

Proof

No proof

Neither a challenge nor a mission with a proof yet.

Around it

Who requires it, who teaches it