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.
 
 
韩天峰 e44007846b perf: use native property handlers for ordinary classes 8 hours ago
..
property-access perf: use native property handlers for ordinary classes 8 hours ago
README.md perf: use native property handlers for ordinary classes 8 hours ago
bench.php perf: use native property handlers for ordinary classes 8 hours ago
micro_bench.php perf: use native property handlers for ordinary classes 8 hours ago

README.md

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:

php benchmark/property-access/run.php