0Pricing
Mojo Academy · Lesson

Profiling the Python Baseline

Find the slow path worth porting.

Start With a Baseline

Before you port anything, measure the Python app as it is today. This baseline is the number every later speedup is compared against. 📊

Why Profile First

Most of a program's time hides in a tiny slice of code. Profiling shows you exactly where, so you port the slow part and skip the rest.

All lessons in this course

  1. Profiling the Python Baseline
  2. Rewriting the Hot Path in Mojo
  3. Parallelizing and Tuning the Core
  4. Shipping the Accelerated Project
← Back to Mojo Academy