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
- 4 lessons
- ~2 h 55 of reading
- 4 quizzes
- 0 proof lab
The path
Where it comes from, where it leads
What you need to know first, where you stand on this skill, and what it opens next. Your status is computed in your browser, from what you have read and passed.
Before · 1 prerequisite
Recommended before · 1
This skill, for you
Profile and optimize a Python program, up to a native extension
Computing
It unlocks · nothing yet
No other skill requires it: it is an end-of-path skill.
The path through the foundations From the most upstream foundation to this skill: what is in place, what remains to read.
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
- 1Profiler son code (in French)· 40 min
- 2Optimiser son code (in French)· 40 min
- 3La gestion de la mémoire (in French)· 35 min
Part 2 · Volet 4 · Industrialiser (in French) 1 lesson · ~1 h 00
- 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.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
Taught by
Same block · Go deeper into a language: concurrency, performance, metaprogramming