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 --reportto find native coverage. - Focus refactoring on hot loops and functions with high call counts.
- Use
performancemode only afterbalancedmode produces correct results.
Parallel compilation
pyvorin compile app.py --threads=8Increase 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.