Performance

Performance Guide

Last updated Jun 23, 2026

Pyvorin performance depends on how much of your program compiles to native code, the build mode, and the workload.

General guidance

  • Measure before optimizing. Use pyvorin compile app.py --report to find native coverage.
  • Focus refactoring on hot loops and functions with high call counts.
  • Use performance mode only after balanced mode produces correct results.

Parallel compilation

pyvorin compile app.py --threads=8

Increase threads for large projects. The default is usually adequate for small scripts.

Realistic expectations

Pyvorin is most effective for CPU-bound Python code. I/O-bound programs may see smaller gains because network or disk latency dominates runtime.