The Computer Language
24.06 Benchmarks Game

all PHP programs & measurements

PHP 8.3.7 (cli)
(built: May 28 2024 09:58:17) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.7,
with Zend OPcache v8.3.7,
Copyright (c) Zend Technologies

source secs N mem gz cpu secs cpu load
binary-trees  #4 0.75  7 19,656 786 0.04 1% 4% 1% 2%
binary-trees  #4 0.08  14 20,224 786 0.20 50% 85% 66% 50%
binary-trees  #4 18.30  21 918,528 786 56.55 85% 72% 70% 82%
source secs N mem gz cpu secs cpu load
binary-trees  #7 0.62  7 19,656 767 0.04 0% 6% 0% 0%
binary-trees  #7 0.08  14 20,352 767 0.20 71% 57% 100% 62%
binary-trees  #7 15.46  21 948,608 767 56.09 89% 88% 88% 97%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.62  7 19,832 429 0.03 4% 1% 0% 1%
binary-trees  #2 0.26  14 19,832 429 0.26 0% 4% 0% 100%
binary-trees  #2 62.95  21 748,784 429 62.94 0% 0% 95% 4%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.67  7 19,656 1048 0.04 4% 1% 1% 1%
binary-trees  #5 0.17  14 19,712 1048 0.41 76% 23% 72% 76%
binary-trees  #5 32.99  21 805,504 1048 84.75 85% 13% 78% 79%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.69  7 19,656 434 0.03 1% 1% 3% 0%
binary-trees  #3 0.17  14 20,224 434 0.17 0% 94% 0% 0%
binary-trees  #3 45.74  21 921,600 434 45.73 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #6 0.75  7 19,832 877 0.04 0% 0% 4% 1%
binary-trees  #6 0.14  14 19,832 877 0.41 69% 78% 64% 92%
binary-trees  #6 27.56  21 805,396 877 90.38 87% 76% 77% 88%
source secs N mem gz cpu secs cpu load
binary-trees  0.69  7 19,656 457 0.03 5% 1% 0% 0%
binary-trees  0.25  14 19,656 457 0.25 100% 0% 0% 4%
binary-trees  62.40  21 748,780 457 62.40 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.99  10 19,656 1166 1.29 32% 32% 32% 33%
fannkuch-redux  #3 4.00  11 19,656 1166 15.84 99% 98% 99% 99%
fannkuch-redux  #3 56.16  12 19,656 1166 223.41 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 1.12  10 19,656 1168 1.34 28% 31% 27% 33%
fannkuch-redux  #4 4.11  11 19,656 1168 16.19 97% 99% 97% 99%
fannkuch-redux  #4 57.20  12 19,656 1168 226.41 99% 100% 98% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.76  10 19,656 447 1.10 0% 62% 0% 0%
fannkuch-redux  #2 13.41  11 19,656 447 13.41 6% 94% 0% 0%
fannkuch-redux  #2 189.64  12 19,656 447 189.63 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  2.08  10 19,656 488 1.40 0% 0% 0% 67%
fannkuch-redux  16.68  11 19,656 488 16.68 0% 0% 0% 100%
fannkuch-redux  226.44  12 19,656 488 226.44 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fasta  #2 1.03  250,000 19,656 1054 0.38 0% 1% 36% 0%
fasta  #2 3.19  2,500,000 19,656 1054 3.19 0% 100% 0% 0%
fasta  #2 28.75  25,000,000 19,656 1054 28.75 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.81  250,000 19,656 1065 0.28 0% 34% 0% 0%
fasta  #3 2.19  2,500,000 19,656 1065 2.19 1% 0% 0% 100%
fasta  #3 21.11  25,000,000 19,656 1065 21.11 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.90  250,000 24,876 1290 0.77 28% 15% 27% 15%
k-nucleotide  #4 2.50  2,500,000 40,832 1290 7.15 90% 60% 81% 55%
k-nucleotide  #4 19.61  25,000,000 260,560 1290 69.45 78% 99% 94% 81%
source secs N mem gz cpu secs cpu load
mandelbrot  1.02  1,000 19,656 452 0.41 0% 40% 0% 0%
mandelbrot  5.44  4,000 19,656 452 5.44 0% 0% 0% 100%
mandelbrot  87.01  16,000 19,656 452 87.00 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.82  1,000 19,656 881 0.42 9% 12% 16% 13%
mandelbrot  #3 1.48  4,000 19,656 881 5.86 99% 99% 99% 99%
mandelbrot  #3 23.32  16,000 48,124 881 93.06 99% 99% 99% 100%
source secs N mem gz cpu secs cpu load
n-body  #3 1.33  500,000 19,656 1088 0.73 0% 0% 0% 54%
n-body  #3 6.69  5,000,000 19,656 1088 6.69 0% 0% 0% 100%
n-body  #3 67.03  50,000,000 19,656 1088 67.03 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
pidigits  #3 0.73  2,000 19,656 510 0.10 0% 0% 14% 0%
pidigits  #3 0.35  6,000 19,656 510 0.35 0% 100% 0% 2%
pidigits  #3 1.05  10,000 19,656 510 1.05 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.65  2,000 19,656 396 0.10 0% 15% 0% 0%
pidigits  #4 0.35  6,000 19,656 396 0.35 2% 0% 0% 100%
pidigits  #4 1.04  10,000 19,656 396 1.04 100% 0% 0% 1%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.73  2,000 19,656 405 0.10 1% 0% 14% 0%
pidigits  #5 0.34  6,000 19,656 405 0.34 0% 0% 0% 97%
pidigits  #5 1.03  10,000 19,656 405 1.03 1% 1% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  11.57  2,000 19,656 756 10.96 0% 0% 0% 94%
pidigits  112.70  6,000 19,656 756 112.69 0% 100% 0% 0%
pidigits  331.98  10,000 19,656 756 331.96 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.78  2,000 19,656 552 0.13 16% 1% 0% 0%
pidigits  #2 0.53  6,000 19,656 552 0.53 0% 100% 0% 0%
pidigits  #2 1.46  10,000 19,656 552 1.46 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  0.70  50,000 19,656 822 0.06 2% 1% 1% 4%
regex-redux  0.32  500,000 33,680 822 0.22 24% 60% 29% 21%
regex-redux  1.86  5,000,000 194,852 822 1.76 34% 40% 40% 82%
source secs N mem gz cpu secs cpu load
reverse-complement  0.65  250,000 19,656 323 0.07 12% 1% 0% 0%
reverse-complement  9.96  100,000,001 1,489,428 323 9.96 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.70  250,000 19,656 288 0.07 0% 0% 1% 8%
reverse-complement  #2 11.83  100,000,001 1,787,272 288 11.82 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.74  250,000 19,656 452 0.05 0% 1% 2% 4%
reverse-complement  #3 7.75  100,000,001 536,792 452 4.22 30% 5% 50% 69%
source secs N mem gz cpu secs cpu load
simple  #3 1.11  1,000 19,656 418 0.56 50% 0% 0% 0%
simple  #3 7.91  4,000 19,656 418 7.91 44% 56% 0% 0%
simple  #3 128.59  16,000 19,656 418 128.56 4% 95% 0% 0%
source secs N mem gz cpu secs cpu load
simple  #2 1.22  1,000 19,656 397 0.67 0% 0% 54% 0%
simple  #2 9.60  4,000 19,656 397 9.60 99% 0% 0% 0%
simple  #2 156.85  16,000 19,656 397 156.82 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
simple  1.26  1,000 19,656 390 0.71 0% 0% 0% 56%
simple  10.37  4,000 19,656 390 10.37 0% 0% 0% 100%
simple  168.78  16,000 19,656 390 168.76 0% 0% 3% 96%
source secs N mem gz cpu secs cpu load
spectral-norm  0.65  500 19,664 1157 0.37 12% 15% 13% 12%
spectral-norm  2.05  3,000 19,664 1157 8.11 99% 99% 99% 99%
spectral-norm  6.82  5,500 19,664 1157 27.13 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.82  500 19,664 1214 0.68 22% 20% 19% 20%
spectral-norm  #3 4.88  3,000 19,664 1214 19.04 99% 99% 92% 99%
spectral-norm  #3 16.29  5,500 19,664 1214 63.86 99% 99% 93% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 1.10  500 19,656 403 0.53 0% 49% 0% 0%
spectral-norm  #2 16.87  3,000 19,656 403 16.87 0% 0% 0% 100%
spectral-norm  #2 56.64  5,500 19,656 403 56.64 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.69  1,000,000 19,664 150 0.10 0% 14% 0% 0%
too simple  4.72  100,000,000 19,664 150 4.72 0% 100% 0% 0%
too simple  508.65  10,000,000,000 19,664 150 508.63 0% 100% 0% 0%