PHPBench

PHPBench is a benchmark suite for PHP. It performs a large number of simple tests in order to bench various aspects of the PHP interpreter. PHPBench can be used to compare hardware, operating systems, PHP versions, PHP accelerators and caches, compiler options, etc.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark phpbench.

Project Site

pureftpd.org

Test Created

6 December 2010

Last Updated

25 November 2020

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Second

Average Run Time

1 Minute, 6 Seconds

Accolades

250k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsPHPBench Popularity Statisticspts/phpbench2010.122011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.0420K40K60K80K100K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 15 June 2021.

Revision History

pts/phpbench-1.1.6   [View Source]   Wed, 25 Nov 2020 10:34:47 GMT
Update with PHP 8.0 compatibility fixes.

pts/phpbench-1.1.5   [View Source]   Wed, 07 Mar 2018 11:41:36 GMT
Fix for command execution on Windows.

pts/phpbench-1.1.4   [View Source]   Wed, 28 Feb 2018 12:09:24 GMT
Fix for Windows Cygwin handling.

pts/phpbench-1.1.3   [View Source]   Wed, 28 Feb 2018 12:01:20 GMT
Bundle the patch into new zip package rather than patching each install, also make test compatible with all OS

pts/phpbench-1.1.2   [View Source]   Sun, 12 Nov 2017 17:24:30 GMT
Updated handling of $PHP_BIN

pts/phpbench-1.1.1   [View Source]   Tue, 24 Jan 2017 07:32:03 GMT
Fix for PHP7 compatibility.

pts/phpbench-1.1.0   [View Source]   Wed, 10 Apr 2013 15:14:21 GMT
Support using $PHP_BIN for specifying PHP binary and update iteration count to one million.

pts/phpbench-1.0.0   [View Source]   Mon, 06 Dec 2010 15:18:35 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Server

CPU Massive

Server CPU Tests

Single-Threaded


Performance Metrics

Analyze Test Configuration:

PHPBench 0.8.1

PHP Benchmark Suite

OpenBenchmarking.org metrics for this test profile configuration based on 72,098 public results since 10 April 2013 with the latest data as of 11 June 2021.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Score (Average)
100th
14
1058262 +/- 57803
100th
3
862216 +/- 399
100th
3
833344 +/- 4181
100th
8
825243 +/- 55042
100th
12
820599 +/- 12867
100th
6
816222 +/- 1576
100th
18
811673 +/- 99579
100th
69
798068 +/- 96542
100th
45
756354 +/- 63537
100th
141
750455 +/- 69141
100th
52
742582 +/- 81831
100th
10
733234 +/- 7279
100th
4
730117 +/- 1063
100th
4
727249 +/- 25670
100th
4
725528 +/- 96342
100th
3
725318 +/- 36760
100th
10
723578 +/- 71626
100th
3
720091 +/- 3727
100th
17
712940 +/- 65098
100th
3
703476 +/- 64727
100th
5
701197 +/- 767
100th
28
699028 +/- 8606
100th
12
697424 +/- 20428
100th
20
683079 +/- 52055
100th
3
682736 +/- 27775
100th
8
676250 +/- 5565
100th
6
676037 +/- 3816
100th
3
675396 +/- 10694
99th
19
668610 +/- 39679
99th
14
664034 +/- 11151
99th
3
663064 +/- 3589
99th
60
661310 +/- 83163
99th
5
651096 +/- 24712
99th
4
649281 +/- 23704
99th
5
647870 +/- 20802
99th
68
647385 +/- 57928
99th
3
644250 +/- 25910
99th
5
644073 +/- 19150
99th
22
643040 +/- 1546
99th
4
643000 +/- 20842
99th
5
642058 +/- 4048
98th
20
640558 +/- 14196
98th
36
637113 +/- 72710
98th
6
636640 +/- 23579
98th
5
626810 +/- 16429
98th
3
626696 +/- 24099
98th
15
626225 +/- 16610
98th
13
625777 +/- 20263
98th
41
623742 +/- 56615
98th
3
622739 +/- 17895
98th
21
618863 +/- 35107
98th
15
617932 +/- 11400
98th
20
612042 +/- 10595
98th
6
607108 +/- 2822
98th
9
606784 +/- 26542
98th
49
606573
98th
8
605065 +/- 1426
98th
10
601414 +/- 12629
97th
149
599664 +/- 1553
97th
5
596336 +/- 32964
97th
53
595765 +/- 60100
97th
19
594981 +/- 44138
97th
44
590197 +/- 48110
97th
16
585283 +/- 52367
97th
11
575025 +/- 21453
97th
6
574683 +/- 3077
97th
15
573489 +/- 4339
96th
4
566880 +/- 20280
96th
15
565212 +/- 19414
96th
5
564374 +/- 18082
96th
21
551305 +/- 59830
96th
25
550173 +/- 70737
96th
103
543560 +/- 4651
95th
14
533629 +/- 62801
95th
3
530043 +/- 75592
95th
9
529786 +/- 10629
95th
67
525774 +/- 4223
95th
4
525093 +/- 28553
95th
6
524247 +/- 3619
95th
4
523714 +/- 22485
95th
16
521536 +/- 7759
95th
16
518916 +/- 18853
95th
4
518743 +/- 18927
95th
11
518306 +/- 14648
95th
4
515371 +/- 7852
95th
11
515250 +/- 8338
95th
3
514889 +/- 21739
95th
6
512303 +/- 32260
95th
5
512297 +/- 63228
95th
9
511382 +/- 67997
95th
4
509135 +/- 33789
95th
9
509094 +/- 17853
95th
12
508980 +/- 20104
95th
13
507898 +/- 10708
95th
55
507014 +/- 30768
94th
4
505902 +/- 34370
94th
9
504455 +/- 12256
94th
4
503776 +/- 18693
94th
12
501365 +/- 9652
94th
7
501317 +/- 31662
94th
4
497186 +/- 1495
94th
10
495812 +/- 22478
93rd
5
491568 +/- 620
93rd
10
490348 +/- 23874
93rd
4
490084 +/- 4115
93rd
17
489496 +/- 26183
93rd
15
488314 +/- 34001
93rd
5
487097 +/- 29423
93rd
6
484942 +/- 1569
93rd
7
481295 +/- 52892
93rd
18
480594 +/- 30423
93rd
5
480131 +/- 35919
93rd
22
478852 +/- 7035
93rd
17
477189 +/- 43301
93rd
30
476418 +/- 40380
93rd
8
475577 +/- 26545
93rd
6
475306 +/- 4805
93rd
6
470865 +/- 60345
93rd
3
470815 +/- 22753
93rd
5
470780 +/- 2209
93rd
4
470196 +/- 28505
93rd
4
469009 +/- 32679
93rd
3
466091 +/- 442
93rd
4
465991 +/- 31928
93rd
36
465907 +/- 59752
93rd
63
458727 +/- 52548
93rd
17
457577 +/- 6490
92nd
3
449554 +/- 4367
92nd
19
445575 +/- 45467
92nd
3
444454 +/- 2439
92nd
3
435488 +/- 12897
92nd
15
422284 +/- 25822
91st
7
409674 +/- 17091
91st
5
404724 +/- 42450
91st
5
403710 +/- 6664
89th
3
395386 +/- 14323
78th
112
380688 +/- 41321
Mid-Tier
75th
< 379377
64th
11
368637 +/- 10101
63rd
6
367414 +/- 16578
62nd
15
364655 +/- 33987
60th
96
358423 +/- 39711
58th
3
343680 +/- 48591
54th
5
333623 +/- 816
Median
50th
330934
46th
198
314273 +/- 4366
46th
27
309973 +/- 19505
46th
155
299367 +/- 28333
46th
8
285599 +/- 4162
46th
48
284598
45th
3
270510 +/- 40398
44th
3
262307 +/- 36288
44th
9
251707 +/- 6414
44th
5
246458 +/- 2443
44th
8
234022 +/- 2110
43rd
50
217823
43rd
4
214596 +/- 464
43rd
5
212732 +/- 5339
43rd
3
212381 +/- 2345
43rd
6
209511 +/- 23507
43rd
9
207879 +/- 1292
43rd
3
204296 +/- 66
43rd
17
199520 +/- 13070
42nd
9
191302 +/- 859
42nd
4
181549 +/- 11500
42nd
4
179387 +/- 10463
42nd
6
177321 +/- 25128
42nd
3
173905 +/- 1979
42nd
15
173698 +/- 3600
42nd
4
172264 +/- 4603
42nd
4
164925 +/- 361
42nd
4
162507 +/- 684
42nd
3
162166 +/- 3284
42nd
3
159212 +/- 4498
41st
7
156465 +/- 1531
41st
3
149492 +/- 2273
41st
3
148856 +/- 21658
40th
59
145286 +/- 7198
40th
3
141030 +/- 146
40th
10
138375 +/- 19332
40th
9
136443 +/- 12581
40th
4
132465 +/- 1790
40th
7
129883 +/- 1374
40th
3
129871 +/- 797
40th
4
127131 +/- 17823
40th
60
125434 +/- 14404
40th
3
125382 +/- 514
40th
3
123831 +/- 16694
40th
3
122734 +/- 2180
40th
8
122674 +/- 13159
39th
101
118535 +/- 1871
39th
4
118228 +/- 17452
38th
8
108334 +/- 321
38th
62
105431 +/- 2100
38th
6
104491 +/- 1179
38th
3
103827 +/- 751
37th
8
103203 +/- 12262
37th
57
101728 +/- 4838
37th
30
99613 +/- 1844
36th
6
95858 +/- 1660
36th
3
95630 +/- 8350
36th
96
94060 +/- 401
34th
12
86606 +/- 4686
32nd
126
84535 +/- 11172
31st
8
82673 +/- 7091
31st
97
81793 +/- 604
31st
49
81116
30th
4
80177 +/- 732
28th
6
75812 +/- 2418
27th
630
75422 +/- 265
26th
6
74162 +/- 383
26th
13
71594 +/- 7920
Low-Tier
25th
< 71145
24th
3
69888 +/- 6991
24th
3
68743 +/- 115
23rd
150
67278 +/- 2340
23rd
4
67264 +/- 5160
22nd
5
65832 +/- 5326
22nd
3
65762 +/- 3567
22nd
5
65704 +/- 3177
22nd
50
63328 +/- 1542
21st
8
61173 +/- 2266
21st
3
61043 +/- 45
21st
3
58317 +/- 5079
15th
4
54966 +/- 1165
14th
5
53711 +/- 67
14th
11
52757 +/- 5230
13th
4
51329 +/- 395
13th
3
49253 +/- 353
13th
3
48328 +/- 6592
12th
48
46601
12th
14
45292 +/- 4966
11th
50
43392
11th
9
42853 +/- 4584
11th
48
42710
10th
146
42173 +/- 613
10th
6
42017 +/- 512
9th
101
41336 +/- 484
7th
15
29931 +/- 1531
7th
3
29737 +/- 132
5th
3
23456 +/- 2392
5th
10
22961 +/- 2720
4th
6
20917 +/- 131
4th
7
19208 +/- 528
3rd
18
17640 +/- 1487
3rd
11
11309 +/- 630
3rd
5
11162 +/- 726
3rd
48
10323
3rd
4
10217 +/- 813
2nd
17
8274 +/- 791
OpenBenchmarking.orgDistribution Of Public Results - PHP Benchmark Suite72098 Results Range From 2639 To 1617183 Score2639349306722199512131803164094196385228676260967293258325549357840390131422422454713487004519295551586583877616168648459680750713041745332777623809914842205874496906787939078971369100366010359511068242110053311328241165115119740612296971261988129427913265701358861139115214234431455734148802515203161552607158489816171894K8K12K16K20K

Based on OpenBenchmarking.org data, the selected test / test configuration (PHPBench 0.8.1 - PHP Benchmark Suite) has an average run-time of 3 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkPHP Benchmark SuiteRun-Time48121620Min: 1 / Avg: 2.66 / Max: 16

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.8%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsPHP Benchmark SuiteDeviation48121620Min: 0 / Avg: 0.83 / Max: 17

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BasePHPBench CPU Core ScalingPHP Benchmark Suite246812162024283248641.4252.854.2755.77.125

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 3 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 400 Rev 1.0 - 4096MB

Raspbian 10 - 5.10.17-v7l+ - LXDE 0.10.0

1 System - 1 Benchmark Result

Unknown - 1024MB - 59GB

Ubuntu 20.04.1 LTS - 5.10.25-linuxkit - overlayfs

1 System - 1 Benchmark Result

Unknown - 2048MB - 59GB

Ubuntu 20.04.1 LTS - 5.10.25-linuxkit - overlayfs

1 System - 1 Benchmark Result

Unknown - 2048MB - 59GB

Ubuntu 20.04.1 LTS - 5.10.25-linuxkit - overlayfs

7 Systems - 28 Benchmark Results

ARMv7 rev 3 - BCM2835 Raspberry Pi 4 Model B Rev 1.1 - 2048MB

Raspbian 10 - 4.19.50-v7l+ - LXDE 0.10.0

3 Systems - 103 Benchmark Results

Intel Xeon Gold 6238R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-240.10.1.el8_3.x86_64 - GCC 8.3.1 20191121

1 System - 62 Benchmark Results

AMD EPYC 7402P 24-Core - GIGABYTE MZ22-G20-00 v01000100 - AMD Device 1480

Ubuntu 16.04 - 4.15.0-142-generic - Unity 7.4.5

17 Systems - 43 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.50-v7+ - LXDE

17 Systems - 43 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.50-v7+ - LXDE

1 System - 63 Benchmark Results

AMD EPYC 7402P 24-Core - GIGABYTE MZ22-G20-00 v01000100 - AMD Device 1480

Ubuntu 16.04 - 4.15.0-142-generic - Unity 7.4.5

1 System - 1 Benchmark Result

Intel Xeon - Google Compute Engine c2-standard-4 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1043-gcp - GCC 9.3.0

1 System - 56 Benchmark Results

2 x Intel Xeon E5-2640 v4 - Supermicro X10DRG-O+-CPU v1.00 - Intel Xeon E7 v4

Ubuntu 16.04 - 4.15.0-142-generic - X Server 1.19.6

Most Popular Test Results

OpenBenchmarking.org Results Compare

16 Systems - 119 Benchmark Results

Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-18-generic - GNOME Shell 3.36.0

5 Systems - 87 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Ubuntu 16.04 - 4.4.66-rockchip - Xfce 4.12

1 System - 88 Benchmark Results

AArch64 rev 3 - HiKey Development Board - 2048MB

Debian 8.7 - 3.18.0-linaro-hikey - X Server 1.16.4

4 Systems - 99 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 20.10 - 5.9.2-050902-generic - GNOME Shell 3.38.1

2 Systems - 178 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

Ubuntu 18.04 - 4.15.2-041502-generic - GNOME Shell 3.26.2

6 Systems - 1421 Benchmark Results

Unknown - Marvell Armada 3720 Board - 2048MB

Ubuntu 16.04 - 4.4.52-armada-17.06.2-g12feccb - GCC 5.4.0 20160609

2 Systems - 6 Benchmark Results

Unknown - NationalChip gx6605s - 57MB

Buildroot 2018.02-git - 4.9.56 - GNOME Shell

2 Systems - 23 Benchmark Results

Intel Core i7 720Q - LENOVO 4318CTO - Intel Core DMI

Ubuntu 19.10 - 5.3.0-23-generic - GNOME Shell 3.34.1

1 System - 30 Benchmark Results

Unknown - 2048MB - 8GB H8G1e

Debian 8.5 - 4.4.0-135-arm64 - LXDE 0.7.2

1 System - 1004 Benchmark Results

SiFive RISC-V - FriendlyElec NanoPC-T4 - Rockchip RK3399

Ubuntu 18.04 - 4.4.138 - LXDE 0.9.3

10 Systems - 28 Benchmark Results

AMD Ryzen Threadripper 2970WX 24-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

Ubuntu 18.10 - 4.19.0-999-generic - GNOME Shell 3.30.1

1 System - 16 Benchmark Results

ARMv7 rev 4 - BCM2835 Raspberry Pi 3 Model B Rev 1.2 - 927MB

Raspbian 9.4 - 4.9.80-v7+ - X Server 1.19.2

Find More Test Results