Tag: performance

7 entries tagged "performance" — 5 posts, 2 links.

Posts

Jun 16, 20266 min — Platform & AI

Free-Threaded Python Changes the Concurrency Question

A decision map for when Python teams should keep asyncio, use multiprocessing, try subinterpreters, or pilot free-threaded CPython without importing new race conditions.

Reader outcome: Separated Python concurrency choices by workload, state sharing, dependency readiness, and failure mode so free-threaded builds become a measured pilot instead of a default switch.

Jun 15, 20267 min — Platform & AI

Measure Python Performance Before You Change the Code

A Python performance playbook for choosing data structures, profiling tools, vectorized libraries, JIT experiments, and concurrency changes from evidence instead of taste.

Reader outcome: Provided a performance triage workflow that asks for a measured bottleneck before changing algorithms, data structures, runtime flags, concurrency models, or native libraries.

Oct 3, 20257 min — Platform & AI

The Three-Run Lab: How I Triage Slow PyTorch Training

A repeatable triage routine — the three-run baseline, DataLoader diagnosis, five profiler signatures, and a copy-paste scaffold — for finding where training time actually goes before touching the model.

Reader outcome: Identified and resolved training bottlenecks in under an hour by running the three-run baseline and reading profiler signatures before changing any model code.

Links

All tags