IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo package

profiling_range

Mojo wrappers for MAX's libkineto-backed range profiler (MXTOOLS-190).

See range.mojo for the Range context manager and is_enabled() query. Consumers do:

from profiling_range import Range

with Range("my_span"):
    ...  # work to profile

The module is named profiling_range to avoid shadowing Mojo's built-in range() iterator.

Modules

  • range: Mojo Range context manager (MXTOOLS-190).