TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
615 B

# TypePHP benchmarks
This directory contains repeatable performance workloads used to guide and
verify compiler/runtime optimizations. Benchmark results depend on the CPU,
PHP build, compiler, and system load, so compare PHP and TypePHP on the same
machine instead of committing absolute timing expectations.
- `bench.php` and `micro_bench.php` are the original general workloads moved
from `examples/`.
- `property-access/` builds and compares dynamic/static property access under
Zend PHP and TypePHP.
Run the property benchmark from the repository root:
```bash
php benchmark/property-access/run.php
```