commit db5898c9e55b33c9378295a8a85aa863202996bc
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Aug 24 12:47:06 2015 +0300
Optimize fast path
./buildconf && \
./configure \
--prefix=$PHP_DIR \
--with-config-file-path=$PHP_DIR \
--with-config-file-scan-dir=$PHP_DIR/conf.d \
--with-apxs2=/usr/bin/apxs2 \
--with-libdir=/lib/x86_64-linux-gnu \
--with-zlib \
--enable-mbstring \
--with-openssl \
--with-libzip --enable-zip \
--without-pear && \
make && \
make install
Inside docker (FROM coderstephen/php7
)
atoum version 2.2.0 by Frédéric Hardy (/usr/local/composer/vendor/atoum/atoum)
$ docker run --rm -it atoum/php7 --test-it -ft -mcn 5
> PHP path: /usr/local/php70/php/bin/php
> PHP version:
=> PHP 7.0.0-dev (cli) (built: Aug 24 2015 10:12:50)
=> Copyright (c) 1997-2015 The PHP Group
=> Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
...
> Total tests duration: 26.26 seconds.
> Total tests memory usage: 52.00 Mb.
> Running duration: 27.28 seconds.
Success (222 tests, 1772/1787 methods, 0 void method, 15 skipped methods, 26340 assertions)!
Versus PHP5 (inside docker FROM phusion/baseimage
)
atoum version 2.2.0 by Frédéric Hardy (/root/.composer/vendor/atoum/atoum)
$ docker run --rm -it atoum/atoum --test-it -ft -mcn 5 -ncc
> PHP path: /usr/bin/php5
> PHP version:
=> PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08)
=> Copyright (c) 1997-2014 The PHP Group
=> Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
=> with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
...
> Total tests duration: 22.67 seconds.
> Total tests memory usage: 772.25 Mb.
> Running duration: 28.16 seconds.
Success (222 tests, 1770/1787 methods, 0 void method, 17 skipped methods, 26457 assertions)!