在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:kenjis/php-framework-benchmark开源软件地址:https://github.com/kenjis/php-framework-benchmark开源编程语言:PHP 94.1%开源软件介绍:PHP Framework BenchmarkThis project attempts to measure minimum overhead (minimum bootstrap cost) of PHP frameworks in the real world. So I think the minimum applications to benchmark should not include:
Components like Template engine or ORM/Database libraries are out of scope in this project. Benchmarking PolicyThis is
Some people may think using default configuration is not fair. But I think a framework's default configuration is an assertion of what it is. Default configuration is a good starting point to know a framework. And I can't optimize all the frameworks. Some frameworks are optimized, some are not, it is not fair. So I don't remove any components/configurations. But if you are interested in benchmarking with optimization (removing components/configurations which are not used), See optimize branch. If you find something wrong with my code, please feel free to send Pull Requests. But please note optimizing only for "Hello World" is not acceptable. Building fastest "Hello World" application is not the goal in this project. ResultsBenchmarking Environment
Hello World BenchmarkThese are my benchmarks, not yours. I encourage you to run on your (production equivalent) environments. (2017/02/14)
Note(1): All the results are run on php with Note(2): This benchmarks are limited by How to BenchmarkIf you want to benchmark PHP extension frameworks like Phalcon, you need to install the extenstions. Install source code as http://localhost/php-framework-benchmark/:
Run benchmarks:
See http://localhost/php-framework-benchmark/. If you want to benchmark some frameworks:
Linux Kernel ConfigurationI added below in
and run If you want to see current configuration, run Apache Virtual Host Configuration
References
Other Benchmarks |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论