This Site, Served
by Python.
The full pack ships with a Python edition of this website (Flask) plus a benchmark harness you can run under CPython and Pyvorin side-by-side — the honest way to see the difference.
The Python pack.
- webapp.py — a Flask server that serves this entire site from
templates/, with JSON API endpoints mirroring the PHP ones. - benchmark_demo.py — a real pure-Python workload (text analytics + number crunching) with median-of-N timing and correctness checks.
- Run both ways —
python benchmark_demo.pyunder CPython, thenpyvorin benchmark_demo.pyunder Pyvorin.
$ python benchmark_demo.py [CPython 3.12] text-analytics workload median: 6.812s p95: 6.971s runs: 7 checksum: 9f2c…a41b ✓ correct $ pyvorin benchmark_demo.py [Pyvorin] same script, zero changes median: 1.204s p95: 1.247s runs: 7 checksum: 9f2c…a41b ✓ identical output → 5.7x faster · same code · same results
Illustrative Example session on reference hardware. Your numbers depend on your workload and machine — that’s the point of running it yourself.
One command:
# From the pack's python/ directory pip install flask python webapp.py # → serving Pyvorin site at http://localhost:8000 # And accelerated, once activated: pyvorin webapp.py
Same code, your runtime of choice.
The Python edition proves the core promise: Pyvorin runs the code you already have. The Flask app, the benchmark harness — everything runs identically under CPython and Pyvorin, just faster under Pyvorin. Nothing in the pack is special-cased.
Run it. Measure it. Believe it.
Download the pack, run the benchmark under both runtimes, and see your own numbers.