The Computer Language
24.11 Benchmarks Game

all PHP programs & measurements

PHP 8.3.11 (cli)
(built: Sep 5 2024 12:34:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.11,
with Zend OPcache v8.3.11,
Copyright (c) Zend Technologies

source secs N mem gz cpu secs cpu load
binary-trees  #4 0.57  7 19,804 786 0.04 0% 3% 1% 3%
binary-trees  #4 0.08  14 20,352 786 0.20 50% 62% 77% 62%
binary-trees  #4 18.34  21 918,528 786 56.94 73% 82% 70% 85%
source secs N mem gz cpu secs cpu load
binary-trees  #7 0.56  7 19,804 767 0.04 1% 0% 7% 0%
binary-trees  #7 0.08  14 20,480 767 0.20 85% 71% 55% 55%
binary-trees  #7 15.58  21 948,608 767 56.00 88% 89% 93% 89%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.70  7 19,984 429 0.03 0% 0% 4% 0%
binary-trees  #2 0.25  14 19,984 429 0.25 100% 0% 7% 0%
binary-trees  #2 63.25  21 748,792 429 63.24 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.63  7 19,804 1048 0.04 0% 1% 4% 0%
binary-trees  #5 0.17  14 19,804 1048 0.41 77% 23% 72% 72%
binary-trees  #5 33.17  21 805,512 1048 84.83 24% 77% 86% 68%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.66  7 19,436 590 0.03 6% 3% 6% 4%
binary-trees  #8 0.42  14 19,436 590 0.42 2% 0% 0% 100%
binary-trees  #8 92.50  21 750,592 590 92.49 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.66  7 19,804 434 0.03 6% 1% 0% 4%
binary-trees  #3 0.16  14 20,224 434 0.16 100% 0% 6% 5%
binary-trees  #3 46.07  21 921,600 434 46.07 3% 96% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #6 0.68  7 19,984 877 0.04 0% 1% 0% 5%
binary-trees  #6 0.14  14 19,984 877 0.41 93% 64% 64% 71%
binary-trees  #6 27.48  21 805,532 877 91.38 79% 89% 87% 77%
source secs N mem gz cpu secs cpu load
binary-trees  0.58  7 19,804 457 0.03 0% 0% 0% 6%
binary-trees  0.25  14 19,804 457 0.25 100% 3% 4% 0%
binary-trees  61.97  21 748,788 457 61.97 13% 86% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 9.27  10 19,440 477 8.76 0% 0% 1% 94%
fannkuch-redux  #8 110.92  11 19,440 477 110.92 0% 100% 0% 0%
fannkuch-redux  #8 1,527.51  12 19,440 477 1,527.44 23% 0% 0% 76%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.91  10 19,804 1166 1.30 37% 33% 35% 37%
fannkuch-redux  #3 3.98  11 19,804 1166 15.75 99% 98% 98% 99%
fannkuch-redux  #3 56.00  12 19,804 1166 222.44 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 0.92  10 19,804 1168 1.29 36% 38% 33% 33%
fannkuch-redux  #4 4.04  11 19,804 1168 15.90 98% 99% 97% 99%
fannkuch-redux  #4 56.07  12 19,804 1168 222.96 98% 99% 99% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.57  10 19,804 447 1.10 0% 1% 70% 0%
fannkuch-redux  #2 13.45  11 19,804 447 13.44 0% 100% 0% 0%
fannkuch-redux  #2 190.06  12 19,804 447 190.05 4% 95% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  1.97  10 19,804 488 1.40 0% 0% 71% 0%
fannkuch-redux  16.62  11 19,804 488 16.62 57% 42% 0% 0%
fannkuch-redux  225.15  12 19,804 488 225.14 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 0.90  250,000 19,804 1054 0.37 1% 0% 1% 41%
fasta  #2 3.16  2,500,000 19,804 1054 3.16 0% 0% 100% 0%
fasta  #2 29.41  25,000,000 19,804 1054 29.41 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #8 3.27  250,000 27,768 742 2.67 1% 0% 0% 81%
fasta  #8 26.45  2,500,000 27,768 742 26.45 100% 0% 0% 0%
fasta  #8 265.71  25,000,000 27,768 742 265.18 89% 3% 7% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.85  250,000 19,804 1065 0.28 32% 1% 1% 1%
fasta  #3 2.17  2,500,000 19,804 1065 2.17 100% 0% 1% 0%
fasta  #3 21.15  25,000,000 19,804 1065 21.14 40% 60% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.94  250,000 24,876 1290 0.79 26% 16% 15% 29%
k-nucleotide  #4 2.34  2,500,000 40,832 1290 7.14 86% 63% 95% 62%
k-nucleotide  #4 21.61  25,000,000 260,560 1290 69.80 64% 99% 69% 90%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 1.38  250,000 39,204 571 0.65 0% 47% 0% 0%
k-nucleotide  #8 6.21  2,500,000 85,828 571 5.74 86% 6% 1% 0%
k-nucleotide  #8 55.69  25,000,000 630,452 571 55.67 53% 46% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  0.93  1,000 19,804 452 0.40 1% 0% 42% 0%
mandelbrot  5.44  4,000 19,804 452 5.44 0% 0% 100% 0%
mandelbrot  87.00  16,000 19,804 452 87.00 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #8 0.99  1,000 19,436 419 0.44 44% 2% 0% 0%
mandelbrot  #8 5.99  4,000 19,436 419 5.99 100% 0% 0% 0%
mandelbrot  #8 81.58  16,000 19,436 419 81.56 49% 50% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.62  1,000 19,804 881 0.42 23% 16% 14% 19%
mandelbrot  #3 1.50  4,000 19,804 881 5.86 98% 99% 97% 97%
mandelbrot  #3 23.38  16,000 48,256 881 93.15 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
n-body  #8 1.29  500,000 19,712 1245 0.72 0% 56% 0% 0%
n-body  #8 6.60  5,000,000 19,712 1245 6.60 100% 0% 0% 0%
n-body  #8 65.76  50,000,000 19,712 1245 65.75 59% 31% 0% 10%
source secs N mem gz cpu secs cpu load
n-body  #3 1.43  500,000 19,804 1088 0.73 0% 50% 0% 0%
n-body  #3 6.71  5,000,000 19,804 1088 6.71 99% 0% 0% 0%
n-body  #3 66.53  50,000,000 19,804 1088 66.52 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
pidigits  #3 0.71  2,000 19,804 510 0.10 15% 7% 1% 1%
pidigits  #3 0.33  6,000 19,804 510 0.33 0% 0% 100% 3%
pidigits  #3 0.98  10,000 19,804 510 0.98 0% 1% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.59  2,000 19,932 396 0.10 1% 0% 15% 1%
pidigits  #4 0.33  6,000 19,932 396 0.33 3% 100% 0% 0%
pidigits  #4 0.98  10,000 19,804 396 0.98 0% 0% 1% 100%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.56  2,000 19,932 405 0.09 17% 0% 0% 0%
pidigits  #5 0.32  6,000 19,932 405 0.32 100% 0% 0% 0%
pidigits  #5 0.96  10,000 19,932 405 0.96 100% 1% 1% 0%
source secs N mem gz cpu secs cpu load
pidigits  11.54  2,000 19,804 756 11.02 78% 17% 0% 0%
pidigits  113.75  6,000 19,804 756 113.75 7% 92% 0% 0%
pidigits  335.40  10,000 19,804 756 335.39 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.66  2,000 19,804 552 0.13 0% 2% 0% 21%
pidigits  #2 0.53  6,000 19,804 552 0.53 0% 0% 100% 3%
pidigits  #2 1.47  10,000 19,932 552 1.47 0% 100% 0% 2%
source secs N mem gz cpu secs cpu load
regex-redux  0.56  50,000 19,804 822 0.06 1% 3% 3% 7%
regex-redux  0.29  500,000 33,684 822 0.22 69% 28% 21% 34%
regex-redux  1.85  5,000,000 194,856 822 1.77 40% 82% 42% 35%
source secs N mem gz cpu secs cpu load
reverse-complement  0.66  250,000 19,804 323 0.07 1% 0% 10% 0%
reverse-complement  9.89  100,000,001 1,489,328 323 9.89 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.79  250,000 19,804 288 0.07 0% 9% 0% 0%
reverse-complement  #2 11.75  100,000,001 1,787,280 288 11.75 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.76  250,000 19,804 452 0.05 2% 7% 2% 2%
reverse-complement  #3 7.75  100,000,001 536,668 452 4.21 30% 1% 55% 70%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 1.35  500 19,724 357 0.76 0% 0% 56% 0%
spectral-norm  #8 25.68  3,000 19,724 357 25.67 60% 39% 0% 0%
spectral-norm  #8 86.11  5,500 19,724 357 86.09 59% 40% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  0.67  500 19,804 1157 0.41 18% 14% 16% 13%
spectral-norm  2.09  3,000 19,804 1157 8.11 97% 97% 97% 98%
spectral-norm  6.87  5,500 19,804 1157 27.14 99% 99% 98% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.77  500 19,804 1214 0.66 21% 21% 22% 23%
spectral-norm  #3 4.90  3,000 19,804 1214 19.08 93% 99% 98% 99%
spectral-norm  #3 16.34  5,500 19,804 1214 64.01 95% 99% 99% 98%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 1.02  500 19,804 403 0.52 1% 0% 0% 51%
spectral-norm  #2 17.04  3,000 19,804 403 17.04 0% 0% 0% 100%
spectral-norm  #2 57.15  5,500 19,804 403 57.15 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.59  1,000,000 19,436 184 0.10 0% 18% 6% 1%
too simple  4.78  100,000,000 19,436 184 4.78 100% 1% 3% 2%
too simple  508.69  10,000,000,000 19,436 184 508.67 0% 100% 0% 0%