Each folder here contains a working PHP example example.php, and associated generated files (including LLVM IR generated from said file).
Each example includes a benchmark that compares each mode of operation to just running the file with php directly.
| Example Name | Native PHP | bin/vm.php | bin/jit.php | bin/compile.php | ./compiled |
|---|---|---|---|---|---|
| 000-HelloWorld | 0.01242 | 0.06492 | 0.15396 | 0.18702 | 0.00137 |