The Computer Language
24.11 Benchmarks Game

all PHP programs & measurements

PHP 8.4.1 (cli)
(built: Nov 22 2024 14:22:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.1,
with Zend OPcache v8.4.1,
Copyright (c) Zend Technologies

source secs N mem gz cpu secs cpu load
binary-trees  #4 0.65  7 19,880 786 0.04 8% 3% 6% 4%
binary-trees  #4 0.12  14 19,880 786 0.35 66% 92% 75% 75%
binary-trees  #4 24.86  21 917,608 786 81.20 87% 87% 76% 76%
source secs N mem gz cpu secs cpu load
binary-trees  #7 0.53  7 19,700 767 0.04 1% 0% 5% 1%
binary-trees  #7 0.12  14 19,700 767 0.34 66% 72% 75% 83%
binary-trees  #7 22.22  21 947,804 767 81.25 89% 89% 98% 90%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.68  7 19,700 429 0.03 1% 1% 0% 4%
binary-trees  #2 0.41  14 19,700 429 0.41 100% 0% 0% 4%
binary-trees  #2 93.68  21 748,028 429 93.66 52% 43% 0% 4%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.56  7 19,700 1048 0.04 1% 1% 3% 3%
binary-trees  #5 0.25  14 19,700 1048 0.62 16% 76% 87% 79%
binary-trees  #5 47.37  21 804,828 1048 125.31 59% 89% 78% 38%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.55  7 19,700 590 0.03 1% 0% 5% 0%
binary-trees  #8 0.68  14 19,700 590 0.68 100% 0% 1% 0%
binary-trees  #8 146.78  21 749,804 590 146.75 45% 54% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.63  7 19,700 434 0.03 1% 0% 0% 3%
binary-trees  #3 0.29  14 19,700 434 0.29 0% 100% 0% 3%
binary-trees  #3 69.49  21 920,800 434 69.47 55% 44% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #6 0.66  7 19,700 877 0.04 3% 3% 4% 1%
binary-trees  #6 0.23  14 19,700 877 0.63 76% 69% 77% 95%
binary-trees  #6 38.24  21 804,884 877 130.14 85% 80% 80% 95%
source secs N mem gz cpu secs cpu load
binary-trees  0.59  7 19,880 457 0.03 5% 0% 0% 1%
binary-trees  0.41  14 19,880 457 0.41 100% 0% 0% 2%
binary-trees  90.61  21 748,120 457 90.59 54% 45% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 10.66  10 19,700 477 10.12 21% 73% 0% 0%
fannkuch-redux  #8 126.25  11 19,700 477 126.23 56% 41% 0% 1%
fannkuch-redux  #8 1,731.37  12 19,700 477 1,731.10 47% 51% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 1.47  10 19,700 1166 2.80 52% 45% 44% 50%
fannkuch-redux  #3 9.15  11 19,700 1166 36.19 98% 99% 99% 100%
fannkuch-redux  #3 129.55  12 19,700 1166 514.06 99% 98% 99% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 1.23  10 19,700 1168 2.80 59% 58% 58% 54%
fannkuch-redux  #4 9.12  11 19,700 1168 36.05 98% 99% 99% 98%
fannkuch-redux  #4 128.28  12 19,700 1168 512.34 99% 99% 99% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 3.06  10 19,700 447 2.55 0% 0% 1% 83%
fannkuch-redux  #2 32.24  11 19,700 447 32.24 48% 51% 0% 0%
fannkuch-redux  #2 460.00  12 19,700 447 459.93 44% 54% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  3.95  10 19,700 488 3.42 86% 1% 0% 1%
fannkuch-redux  42.73  11 19,700 488 42.73 24% 24% 28% 23%
fannkuch-redux  591.53  12 19,700 488 591.44 50% 48% 0% 1%
source secs N mem gz cpu secs cpu load
fasta  #2 1.07  250,000 19,768 1054 0.57 2% 51% 1% 0%
fasta  #2 5.06  2,500,000 19,768 1054 5.06 74% 0% 1% 25%
fasta  #2 47.15  25,000,000 19,768 1054 47.14 64% 35% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #8 1.02  250,000 19,960 760 0.59 57% 0% 1% 0%
fasta  #8 5.26  2,500,000 19,960 760 5.26 53% 47% 0% 0%
fasta  #8 49.44  25,000,000 19,960 760 49.43 79% 21% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.84  250,000 19,700 1065 0.37 1% 0% 2% 43%
fasta  #3 3.19  2,500,000 19,768 1065 3.17 99% 0% 0% 0%
fasta  #3 31.09  25,000,000 19,768 1065 31.08 55% 45% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.84  250,000 25,036 1290 1.00 27% 41% 34% 17%
k-nucleotide  #4 2.92  2,500,000 40,076 1290 9.07 96% 67% 79% 68%
k-nucleotide  #4 25.74  25,000,000 259,940 1290 90.19 78% 79% 94% 99%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 1.44  250,000 38,324 571 0.88 60% 1% 0% 0%
k-nucleotide  #8 8.23  2,500,000 85,136 571 8.13 98% 0% 0% 0%
k-nucleotide  #8 79.41  25,000,000 629,652 571 79.39 44% 55% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  1.64  1,000 19,768 452 1.09 1% 0% 66% 0%
mandelbrot  16.27  4,000 19,768 452 16.26 37% 63% 0% 0%
mandelbrot  262.49  16,000 19,768 452 262.45 50% 49% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #8 2.15  1,000 19,768 419 1.70 26% 54% 0% 0%
mandelbrot  #8 26.25  4,000 19,768 419 26.25 39% 61% 0% 0%
mandelbrot  #8 420.99  16,000 19,768 419 420.89 48% 50% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.80  1,000 19,768 881 1.13 36% 39% 33% 33%
mandelbrot  #3 4.41  4,000 19,768 881 17.39 99% 98% 98% 99%
mandelbrot  #3 71.34  16,000 47,676 881 284.83 99% 99% 99% 100%
source secs N mem gz cpu secs cpu load
n-body  #8 3.05  500,000 19,768 1245 2.52 0% 0% 82% 0%
n-body  #8 24.27  5,000,000 19,768 1245 24.26 49% 42% 0% 8%
n-body  #8 246.25  50,000,000 19,768 1245 246.21 50% 49% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 2.59  500,000 19,768 1088 2.10 0% 0% 81% 1%
n-body  #3 20.41  5,000,000 19,768 1088 20.40 50% 17% 32% 0%
n-body  #3 204.18  50,000,000 19,768 1088 204.15 51% 48% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #3 0.59  2,000 19,768 510 0.10 0% 5% 0% 13%
pidigits  #3 0.34  6,000 19,768 510 0.34 84% 0% 2% 20%
pidigits  #3 0.99  10,000 19,768 510 0.99 1% 100% 1% 0%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.53  2,000 19,768 396 0.10 0% 1% 19% 0%
pidigits  #4 0.34  6,000 19,768 396 0.34 0% 0% 5% 100%
pidigits  #4 0.99  10,000 19,768 396 0.99 3% 0% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.66  2,000 19,768 405 0.10 0% 0% 0% 15%
pidigits  #5 0.32  6,000 19,768 405 0.32 0% 100% 3% 0%
pidigits  #5 0.97  10,000 19,768 405 0.97 0% 1% 100% 1%
source secs N mem gz cpu secs cpu load
pidigits  3.26  2,000 19,768 756 2.70 0% 0% 83% 0%
pidigits  30.85  6,000 19,768 756 30.84 45% 55% 0% 0%
pidigits  102.67  10,000 19,768 756 102.65 41% 58% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.63  2,000 19,768 552 0.13 21% 0% 0% 1%
pidigits  #2 0.54  6,000 19,768 552 0.54 0% 100% 0% 1%
pidigits  #2 1.49  10,000 19,768 552 1.49 100% 0% 1% 0%
source secs N mem gz cpu secs cpu load
regex-redux  0.63  50,000 19,768 822 0.05 8% 3% 1% 3%
regex-redux  0.29  500,000 33,456 822 0.22 21% 65% 33% 24%
regex-redux  1.87  5,000,000 194,684 822 1.75 46% 34% 43% 74%
source secs N mem gz cpu secs cpu load
reverse-complement  0.59  250,000 19,768 323 0.07 1% 11% 1% 0%
reverse-complement  10.22  100,000,001 1,488,780 323 10.22 47% 52% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.65  250,000 19,768 288 0.07 0% 0% 0% 10%
reverse-complement  #2 12.21  100,000,001 1,786,608 288 12.20 73% 26% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.78  250,000 19,768 452 0.05 6% 1% 1% 3%
reverse-complement  #3 8.13  100,000,001 536,024 452 4.61 4% 55% 63% 29%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 1.69  500 19,768 357 1.17 1% 0% 69% 0%
spectral-norm  #8 40.69  3,000 19,768 357 40.68 49% 50% 0% 0%
spectral-norm  #8 136.62  5,500 19,768 357 136.59 52% 47% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  0.80  500 19,768 1157 0.68 21% 22% 21% 21%
spectral-norm  5.47  3,000 19,768 1157 21.58 98% 99% 98% 99%
spectral-norm  18.14  5,500 19,768 1157 72.35 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.88  500 19,768 1214 1.23 39% 34% 34% 34%
spectral-norm  #3 10.79  3,000 19,768 1214 42.59 99% 99% 98% 98%
spectral-norm  #3 35.75  5,500 19,768 1214 141.74 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 1.65  500 19,768 403 1.16 0% 0% 2% 70%
spectral-norm  #2 39.81  3,000 19,768 403 39.80 51% 35% 13% 0%
spectral-norm  #2 132.92  5,500 19,768 403 132.89 46% 53% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.57  1,000,000 19,768 184 0.12 1% 0% 1% 20%
too simple  6.88  100,000,000 19,768 184 6.88 0% 0% 100% 0%
too simple  717.00  10,000,000,000 19,768 184 716.89 50% 48% 0% 0%