『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020( 三 )

PHP 7.4是赢家 , 被证明比PHP 7.3快一点 。 而且 , 如果将PHP 7.4与PHP 5.6进行比较 , 则它每秒可以处理3倍以上的请求(事务)!
Update your PHP with one-click for greater site performance, speed, and security. Try Kinsta for Free.
WordPress 5.3 + WooCommerce 3.5.2 WooCommerce is a fully customizable, open-source ecommerce platform built for WordPress. It’s also by far, one of the most popular ecommerce solutions in the WordPress community, and currently powers over 14% of all ecommerce sites on the internet.
『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020
本文插图

For this next test, we took WordPress along with WooCommerce installed. We utilized the free Storefront eCommerce theme (2.5.3).

  • Tested URL: /product/woo-ninja/
  • Note: The page contains 3 related products, 1 product review/comment, 1 product in “You May Also Like” section, and product in next and previous pagination.
  • Docker Image is derived from https://hub.docker.com/_/wordpress/.

『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020
本文插图

WordPress 5.3 + WooCommerce PHP Benchmarks
Embed on your site:
Benchmark Results
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 5.6 benchmark results: 49.29 req/sec
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 7.0 benchmark results: 117.35 req/sec
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 7.1 benchmark results: 117.52 req/sec
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 7.2 benchmark results: 125.85 req/sec
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 7.3 benchmark results: 141.68 req/sec
  • WordPress 5.3 + WooCommerce 3.8.1 PHP 7.4 benchmark results: 146.07 req/sec
When running WooCommerce, PHP 7.4 beat out PHP 7.3 by a small margin.
WordPress 5.3 + Easy Digital Downloads 2.9.20 由Pippin Williamson创建的Easy Digital Downloads(EDD)是一个免费的WordPress电子商务插件 , 主要致力于帮助创作者和开发者销售数字产品 。
『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020
本文插图

在了解了WooCommerce的表现之后 , 我们随后将WordPress和Easy Digital Downloads一起安装了 。 我们利用了免费的主题主题(1.0.7) 。
  • 经过测试的网址: /downloads/side-hustle/
  • 注意:该页面是EDD的单一产品 , 包含图像 , 几段段落行 , 购买按钮和类别链接 。
  • Docker镜像源自https://hub.docker.com/_/wordpress/ 。
【『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020】『PHP』权威的5.6、7.0、7.1、7.2、7.3和7.4 PHP运行效率基准测试2020
本文插图

WordPress 5.3 + Easy Digital下载PHP基准
嵌入您的网站:
基准结果