Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


PHP Benchmark Script - Page 3
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

PHP Benchmark Script

13»

Comments

  • FredQcFredQc Member
    edited August 2015

    OpenLSWS - LSAPI - PHP7

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-03 16:15:08
    Server : removed
    PHP version : 7.0.0alpha2
    Platform : Linux
    --------------------------------------
    test_math                 : 0.218 sec.
    test_stringmanipulation   : 0.293 sec.
    test_loops                : 0.240 sec.
    test_ifelse               : 0.189 sec.
    --------------------------------------
    Total time:               : 0.94 sec.
    
  • Linode 2GB

    HHVM-nightly

    Start : 2015-08-04 12:28:23
    Server : @
    PHP version : 5.6.99-hhvm
    Platform : Linux
    --------------------------------------
    test_math                 : 0.400 sec.
    test_stringmanipulation   : 0.732 sec.
    test_ifelse               : 0.048 sec.
    test_loops                : 0.106 sec.
    --------------------------------------
    Total time:               : 1.286 sec.
    

    PHP

    Start : 2015-08-04 12:29:39
    Server : @
    PHP version : 5.6.9-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_math                 : 1.346 sec.
    test_stringmanipulation   : 1.354 sec.
    test_loops                : 0.873 sec.
    test_ifelse               : 0.718 sec.
    --------------------------------------
    Total time:               : 4.291 sec.
    
  • sleddogsleddog Member
    edited August 2015

    64MB, $4/year Bandwagonhost in Florida....

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 12:35:56
    Server : [removed]
    PHP version : 5.4.41-0+deb7u1
    Platform : Linux
    --------------------------------------
    test_math                 : 1.882 sec.
    test_stringmanipulation   : 1.895 sec.
    test_loops                : 1.176 sec.
    test_ifelse               : 0.933 sec.
    --------------------------------------
    Total time:               : 5.886 sec.

    128MB Lowendspirit in Italy (Prometeus):

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 12:43:10
    Server : [removed]
    PHP version : 5.4.41-0+deb7u1
    Platform : Linux
    --------------------------------------
    test_math                 : 3.693 sec.
    test_stringmanipulation   : 3.594 sec.
    test_loops                : 1.519 sec.
    test_ifelse               : 1.247 sec.
    --------------------------------------
    Total time:               : 10.053 sec.
  • FritzFritz Veteran
    edited August 2015

    PHP 5.4. PHP-FPM. NGINX 1.8. Intel i7-2600

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 22:14:40
    Server : Suck this
    PHP version : 5.4.x
    Platform : Linux
    --------------------------------------
    test_math                 : 1.026 sec.
    test_stringmanipulation   : 1.082 sec.
    test_loops                : 0.683 sec.
    test_ifelse               : 0.559 sec.
    --------------------------------------
    Total time:               : 3.35 sec.
    
  • NeoonNeoon Community Contributor, Veteran
    edited August 2015
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 17:35:49
    Server : @
    PHP version : 5.6.9-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_math                 : 7.688 sec.
    test_stringmanipulation   : 7.624 sec.
    test_loops                : 4.791 sec.
    test_ifelse               : 3.170 sec.
    --------------------------------------
    Total time:               : 23.273 sec.

    http://lowendbox.com/blog/yes-you-can-run-18-static-sites-on-a-64mb-link-1-vps/

    Intel(R) Atom(TM) CPU D525 @ 1.80GHz, Dedi

    Such crappy performance, need to fix.

  • --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 13:16:54
    Server : u14@nodepad
    PHP version : 5.5.9-1ubuntu4.9
    Platform : Linux
    --------------------------------------
    test_math                 : 1.956 sec.
    test_stringmanipulation   : 2.058 sec.
    test_loops                : 1.264 sec.
    test_ifelse               : 1.030 sec.
    --------------------------------------
    Total time:               : 6.308 sec.
  • Vultr 32G

    
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2015-08-04 18:49:36
    Server : @
    PHP version : 5.4.16
    Platform : Linux
    --------------------------------------
    test_math                 : 1.180 sec.
    test_stringmanipulation   : 1.199 sec.
    test_loops                : 0.874 sec.
    test_ifelse               : 0.579 sec.
    --------------------------------------
    Total time:               : 3.832 sec.
  • GM2015GM2015 Member
    edited August 2015


    PHP BENCHMARK SCRIPT

    Start : 2015-08-04 23:58:57
    Server : chuck@norris
    PHP version : 5.5.9-1ubuntu4.11
    Platform : Linux

    test_math : 1.363 sec.
    test_stringmanipulation : 1.444 sec.
    test_loops : 0.968 sec.
    test_ifelse : 0.814 sec.

    Total time: : 4.589 sec.

    Best results on ubuntu 14.04 Digitalocean/London before migrating this piss poor IO speed blessed derplet.

  • Anna_ParkerAnna_Parker Member
    edited January 2016

    That was a nice thread, so I'm bumping.

    Free vpsbit.com KVM VPS:

        --------------------------------------
        |        PHP BENCHMARK SCRIPT        |
        --------------------------------------
        Start : 2016-01-06 15:07:42
        Server : [email protected]
        PHP version : 5.5.9-1ubuntu4.14
        Platform : Linux
        --------------------------------------
        test_math                 : 0.910 sec.
        test_stringmanipulation   : 0.790 sec.
        test_loops                : 0.519 sec.
        test_ifelse               : 0.305 sec.
        --------------------------------------
        Total time:               : 2.524 sec.
    

    And PHP7:

        --------------------------------------
        |        PHP BENCHMARK SCRIPT        |
        --------------------------------------
        Start : 2016-01-06 15:11:31
        Server : [email protected]
        PHP version : 7.0.1-5+deb.sury.org~trusty+1
        Platform : Linux
        --------------------------------------
        test_ifelse               : 0.140 sec.
        test_loops                : 0.193 sec.
        test_stringmanipulation   : 0.287 sec.
        test_math                 : 0.203 sec.
        --------------------------------------
        Total time:               : 0.823 sec.
    

    Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (bogomips : 7200.06) POWER! :)))

  • dragon1993dragon1993 Member
    edited January 2016

    Arubacloud 1GB

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:20:06
    PHP version : 7.0.1-5+deb.sury.org~trusty+1
    Platform : Linux
    --------------------------------------
    test_math                 : 0.382 sec.
    test_stringmanipulation   : 0.610 sec.
    test_loops                : 0.392 sec.
    test_ifelse               : 0.442 sec.
    --------------------------------------
    Total time:               : 1.826 sec.
  • GromGrom Member
    edited January 2016

    @taronyu said:
    Did anyone tried it on PHP7 already? I'm curious because PHP7 should be multiple times faster than PHP5.

    PHP 5.6.16: 4.063 sec.

    PHP 7.0.1: 3.294 sec.

    Performed on windows.

  • edited January 2016
    --------------------------------------
    |        PHP BENCHMARK SCRIPT       |
    --------------------------------------
    Start : 2016-01-06 13:42:40
    Server : @
    PHP version : 7.0.1
    Platform : WINNT
    --------------------------------------
    test_math                 : 0.323 sec.
    test_stringmanipulation   : 1.724 sec.
    test_loops                : 0.370 sec.
    test_ifelse               : 0.257 sec.
    --------------------------------------
    Total time:               : 2.674 sec
    

    PHP 7.0.1 on Windows 8.1 64-bit, i5-4590

  • GM2015GM2015 Member
    edited January 2016

    Windows is definitely something, Liam.

    definitelyliam said: PHP 7.0.1 on Windows 8.1 64-bit, i5-459

    raspberry pi rules:

    <

    pre>

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 13:47:14
    Server : ?@?
    PHP version : 5.6.14-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_Math                 : 18.364 sec.
    test_StringManipulation   : 18.134 sec.
    test_Loops                : 9.988 sec.
    test_IfElse               : 6.926 sec.
    --------------------------------------
    Total time:               : 53.412 sec.
    
    Thanked by 1Anna_Parker
  • pedagangpedagang Member
    edited January 2016

    deleted

  • agoldenbergagoldenberg Member, Host Rep

    HVH Dedicated E3-1240

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 09:02:10
    Server : @
    PHP version : 5.6.4-4ubuntu6.4
    Platform : Linux
    --------------------------------------
    test_math                 : 0.980 sec.
    test_stringmanipulation   : 1.010 sec.
    test_loops                : 0.725 sec.
    test_ifelse               : 0.594 sec.
    --------------------------------------
    Total time:               : 3.309 sec.
  • nginx & php-fpm

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 06:16:18
    Server : namhuy.net@
    PHP version : 7.0.1
    Platform : Linux
    --------------------------------------
    test_ifelse               : 0.465 sec.
    test_loops                : 0.645 sec.
    test_stringmanipulation   : 0.855 sec.
    test_math                 : 0.655 sec.
    --------------------------------------
    Total time:               : 2.62 sec.
    
  • Execute from command-line in RunAbove's Sandbox (KVM 1 core 2GB ram) with Kloxo-MR 7.0:

    [root@ra1 ~]# php52m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:49:31
    Server : @
    PHP version : 5.2.17
    Platform : Linux
    --------------------------------------
    test_math                 : 1.048 sec.
    test_stringmanipulation   : 1.083 sec.
    test_loops                : 1.449 sec.
    test_ifelse               : 1.543 sec.
    --------------------------------------
    Total time:               : 5.123 sec.
    [root@ra1 ~]# php53m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:49:47
    Server : @
    PHP version : 5.3.29
    Platform : Linux
    --------------------------------------
    test_math                 : 1.037 sec.
    test_stringmanipulation   : 1.066 sec.
    test_loops                : 0.857 sec.
    test_ifelse               : 0.697 sec.
    --------------------------------------
    Total time:               : 3.657 sec.
    [root@ra1 ~]# php54m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:50:01
    Server : @
    PHP version : 5.4.45
    Platform : Linux
    --------------------------------------
    test_math                 : 1.303 sec.
    test_stringmanipulation   : 1.104 sec.
    test_loops                : 0.627 sec.
    test_ifelse               : 0.538 sec.
    --------------------------------------
    Total time:               : 3.572 sec.
    [root@ra1 ~]# php55m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:50:14
    Server : @
    PHP version : 5.5.30
    Platform : Linux
    --------------------------------------
    test_math                 : 1.392 sec.
    test_stringmanipulation   : 1.183 sec.
    test_loops                : 0.661 sec.
    test_ifelse               : 0.529 sec.
    --------------------------------------
    Total time:               : 3.765 sec.
    [root@ra1 ~]# php56m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 15:50:27
    Server : @
    PHP version : 5.6.14
    Platform : Linux
    --------------------------------------
    test_math                 : 0.979 sec.
    test_stringmanipulation   : 1.836 sec.
    test_loops                : 0.918 sec.
    test_ifelse               : 0.619 sec.
    --------------------------------------
    Total time:               : 4.352 sec.
    [root@ra1 ~]# php70m-cli /tmp/bench.php
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-06 14:52:13
    Server : @
    PHP version : 7.0.0
    Platform : Linux
    --------------------------------------
    test_math                 : 0.299 sec.
    test_stringmanipulation   : 0.398 sec.
    test_loops                : 0.291 sec.
    test_ifelse               : 0.420 sec.
    --------------------------------------
    Total time:               : 1.408 sec.
    
  • agoldenbergagoldenberg Member, Host Rep

    Here's my E3 in Philly on PHP 7.0

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 03:04:13
    Server : @
    PHP version : 7.0.2-1~dotdeb+8.1
    Platform : Linux
    --------------------------------------
    test_math                 : 0.313 sec.
    test_stringmanipulation   : 0.377 sec.
    test_loops                : 0.221 sec.
    test_ifelse               : 0.259 sec.
    --------------------------------------
    Total time:               : 1.17 sec.
  • vfusevfuse Member, Host Rep

    OVH 3 euro VPS

    hhvm

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 04:07:18
    Server : @
    PHP version : 5.6.99-hhvm
    Platform : Linux
    --------------------------------------
    test_math                 : 0.326 sec.
    test_stringmanipulation   : 0.494 sec.
    test_ifelse               : 0.138 sec.
    test_loops                : 0.195 sec.
    --------------------------------------
    Total time:               : 1.153 sec.

    And 5.6

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 04:03:16
    Server : @
    PHP version : 5.6.14-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_math                 : 1.063 sec.
    test_stringmanipulation   : 1.033 sec.
    test_loops                : 0.895 sec.
    test_ifelse               : 0.500 sec.
    --------------------------------------
    Total time:               : 3.491 sec.
  • GM2015GM2015 Member
    edited January 2016

    ovh ssd 1

    root@mail:~/test# free -h
                 total       used       free     shared    buffers     cached
    Mem:          1.9G       1.6G       297M        46M        63M       685M
    -/+ buffers/cache:       915M       1.0G
    Swap:         1.0G       125M       898M
    
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 05:12:20
    Server : @
    PHP version : 5.6.14-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_math                 : 1.193 sec.
    test_stringmanipulation   : 1.332 sec.
    test_loops                : 0.908 sec.
    test_ifelse               : 0.535 sec.
    --------------------------------------
    Total time:               : 3.968 sec.
    

    vfuse said: And 5.6

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 04:03:16
    Server : @
    PHP version : 5.6.14-0+deb8u1
    Platform : Linux
    --------------------------------------
    test_math                 : 1.063 sec.
    test_stringmanipulation   : 1.033 sec.
    test_loops                : 0.895 sec.
    test_ifelse               : 0.500 sec.
    --------------------------------------
    Total time:               : 3.491 sec.
    
    
  • --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 15:09:59
    Server : profvps.com@xxx
    PHP version : 5.5.30
    Platform : Linux
    --------------------------------------
    test_math                 : 1.282 sec.
    test_stringmanipulation   : 1.446 sec.
    test_loops                : 0.784 sec.
    test_ifelse               : 0.725 sec.
    --------------------------------------
    Total time:               : 4.237 sec.
    
  • bragrabragra Member
    edited January 2016
    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 15:29:40
    Server : @
    PHP version : 5.6.16
    Platform : Linux
    --------------------------------------
    test_math                 : 1.212 sec.
    test_stringmanipulation   : 1.229 sec.
    test_loops                : 0.765 sec.
    test_ifelse               : 0.457 sec.
    --------------------------------------
    Total time:               : 3.663 sec.
  • desperanddesperand Member
    edited January 2016

  • desperanddesperand Member
    edited January 2016

    https://blazingfast.io/

    512 RAM Box. (KVM)
    (php5-fpm + nginx)

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 20:17:37
    Server : @
    PHP version : 5.5.9-1ubuntu4.14
    Platform : Linux
    --------------------------------------
    test_math                 : 1.148 sec.
    test_stringmanipulation   : 1.143 sec.
    test_loops                : 0.655 sec.
    test_ifelse               : 0.378 sec.
    --------------------------------------
    Total time:               : 3.324 sec.
    

    CPU:

    # cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 60
    model name      : Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz
    stepping        : 3
    microcode       : 0x1
    cpu MHz         : 3491.932
    cache size      : 4096 KB
    
  • jhjh Member

    Very interesting - www.cloudlook.com have a similar script and comparisons of major clouds.

  • TomTom Member

    online.net limited 3815 // php7

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-10 18:48:04
    Server : @
    PHP version : 7.0.1-1~dotdeb+8.1
    Platform : Linux
    --------------------------------------
    test_math                 : 0.238 sec.
    test_stringmanipulation   : 0.429 sec.
    test_loops                : 0.344 sec.
    test_ifelse               : 0.234 sec.
    --------------------------------------
    Total time:               : 1.245 sec.
  • Running on CentminMod.com LEMP web stack PHP 7.0.2 PHP-FPM vs HHVM 3.12 dev on CentOS 7.2 with Soyoustart E3-1245v2 32GB ram 3x120GB SSD server

    PHP 7.0.2

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-11 02:04:07
    Server : centminmod.com LEMP stack server
    PHP version : 7.0.2
    Platform : Linux
    --------------------------------------
    test_ifelse               : 0.165 sec.
    test_loops                : 0.241 sec.
    test_stringmanipulation   : 0.341 sec.
    test_math                 : 0.217 sec.
    --------------------------------------
    Total time:               : 0.964 sec.
    

    HHVM 3.12 dev 1st run

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-11 02:04:26
    Server : centminmod.com LEMP stack server
    PHP version : 7.0.99-hhvm
    Platform : Linux
    --------------------------------------
    test_math                 : 0.545 sec.
    test_stringmanipulation   : 0.661 sec.
    test_ifelse               : 0.993 sec.
    test_loops                : 1.217 sec.
    --------------------------------------
    Total time:               : 3.416 sec.
    

    HHVM 3.12 dev 13th run

    --------------------------------------
    |        PHP BENCHMARK SCRIPT        |
    --------------------------------------
    Start : 2016-01-11 02:05:58
    Server : centminmod.com LEMP stack server
    PHP version : 7.0.99-hhvm
    Platform : Linux
    --------------------------------------
    test_math                 : 0.293 sec.
    test_stringmanipulation   : 0.455 sec.
    test_ifelse               : 0.097 sec.
    test_loops                : 0.133 sec.
    --------------------------------------
    Total time:               : 0.978 sec.
    
    Thanked by 1yomero
Sign In or Register to comment.