{
  "id": "python-cprofile-table",
  "kind": "table",
  "slug": "python-cprofile",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/python-cprofile/",
  "title": "Python cProfile: alias for profiling.tracing",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "profile",
      "source": "Python docs",
      "detail": "is a pure Python deterministic profiler and is deprecated"
    },
    {
      "name": "profiling.tracing",
      "source": "Python docs",
      "detail": "is the C-based replacement for development and testing"
    },
    {
      "name": "profiling.sampling",
      "source": "Python docs",
      "detail": "is for production debugging with zero overhead"
    },
    {
      "name": "cProfile",
      "source": "Python docs",
      "detail": "remains a backward-compatible alias to profiling.tracing"
    },
    {
      "name": "run",
      "source": "Python docs",
      "detail": "executes a command string and gathers profiling statistics"
    }
  ],
  "related_slugs": [
    "python-functools",
    "python-itertools",
    "python-dataclasses"
  ],
  "license": "CC-BY-4.0",
  "source_license": "PSF-2.0 (Python docs); PSF-2.0 (CPython docs); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}