Skip to content

Instantly share code, notes, and snippets.

@christophermancini
Last active February 9, 2017 21:22
Show Gist options
  • Save christophermancini/977a87ffdb98c42ce95e817d59cba9c3 to your computer and use it in GitHub Desktop.
Save christophermancini/977a87ffdb98c42ce95e817d59cba9c3 to your computer and use it in GitHub Desktop.
PHP-Protobuf PHP7.1 OPCACHE
✔ ~/dev/code/php-protobuf [php7-merge|⚑ 1]
16:17 $ php -i | grep opcache && composer phpt && composer phpt
Configure Command => './configure' '--prefix=/usr/local/Cellar/php71/7.1.1_12' '--localstatedir=/usr/local/var' '--sysconfdir=/usr/local/etc/php/7.1' '--with-config-file-path=/usr/local/etc/php/7.1' '--with-config-file-scan-dir=/usr/local/etc/php/7.1/conf.d' '--mandir=/usr/local/Cellar/php71/7.1.1_12/share/man' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbregex' '--enable-mbstring' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--with-freetype-dir=/usr/local/opt/freetype' '--with-gd' '--with-gettext=/usr/local/opt/gettext' '--with-iconv-dir=/usr' '--with-icu-dir=/usr/local/opt/icu4c' '--with-jpeg-dir=/usr/local/opt/jpeg' '--with-kerberos=/usr' '--with-mhash' '--with-ndbm=/usr' '--with-png-dir=/usr/local/opt/libpng' '--with-xmlrpc' '--with-zlib=/usr' '--with-readline=/usr/local/opt/readline' '--without-gmp' '--without-snmp' '--with-libxml-dir=/usr/local/opt/libxml2' '--with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc' '--with-unixODBC=/usr/local/opt/unixodbc' '--with-bz2=/usr' '--with-openssl=/usr/local/opt/openssl' '--enable-fpm' '--with-fpm-user=_www' '--with-fpm-group=_www' '--with-curl' '--with-xsl=/usr' '--with-ldap' '--with-ldap-sasl=/usr' '--with-mysql-sock=/tmp/mysql.sock' '--with-mysqli=mysqlnd' '--with-mysql=mysqlnd' '--with-pdo-mysql=mysqlnd' '--disable-opcache' '--enable-pcntl' '--without-pear' '--enable-dtrace' '--disable-phpdbg' '--enable-zend-signals'
Additional .ini files parsed => /usr/local/etc/php/7.1/conf.d/ext-opcache.ini,
opcache.blacklist_filename => no value => no value
opcache.consistency_checks => 0 => 0
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => On => On
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.fast_shutdown => 0 => 0
opcache.file_cache => no value => no value
opcache.file_cache_consistency_checks => 1 => 1
opcache.file_cache_only => 0 => 0
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.huge_code_pages => Off => Off
opcache.inherited_hack => On => On
opcache.interned_strings_buffer => 4 => 4
opcache.lockfile_path => /tmp => /tmp
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 2000 => 2000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 64 => 64
opcache.opt_debug_level => 0 => 0
opcache.optimization_level => 0xffffffff => 0xffffffff
opcache.preferred_memory_model => no value => no value
opcache.protect_memory => 0 => 0
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => 1 => 1
opcache.use_cwd => On => On
opcache.validate_permission => Off => Off
opcache.validate_root => Off => Off
opcache.validate_timestamps => On => On
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
> TRAVIS=1 php run-tests.php -n -d extension_dir=./modules/ -d extension=protobuf.so -P --show-diff --set-timeout 120
=====================================================================
PHP : /usr/local/Cellar/php71/7.1.1_12/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.1.1
ZEND_VERSION: 3.1.0
PHP_OS : Darwin - Darwin Chriss-MBP 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
INI actual : /Users/chrismancini/dev/code/php-protobuf
More .INIs :
CWD : /Users/chrismancini/dev/code/php-protobuf
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2017-02-09 21:21:58
=====================================================================
PASS Protocol Buffers appending floating-point value [tests/append_float_value.phpt]
PASS Protocol Buffers appending integer value [tests/append_int_value.phpt]
PASS Protocol Buffers appending object value [tests/append_object_value.phpt]
PASS Protocol Buffers appending string value [tests/append_string_value.phpt]
PASS Protocol Buffers parse boolean false value [tests/parse_boolean_false.phpt]
PASS Protocol Buffers embedded message parsing [tests/parse_embedded.phpt]
PASS Protocol Buffers parseFromString throws Exception if string is not protobuf-encoded message [tests/parse_error.phpt]
PASS Protocol Buffers packed repeated field parsing [tests/parse_packed_repeated.phpt]
PASS Protocol Buffers repeated field parsing [tests/parse_repeated.phpt]
PASS Protocol Buffers repeated field of length delimited items parsing [tests/parse_repeated_length_delimited.phpt]
PASS Protocol Buffers repeated object field parsing [tests/parse_repeated_obj.phpt]
PASS Protocol Buffers simple field parsing [tests/parse_simple.phpt]
PASS Protocol Buffers repeated field accessors [tests/repeated_field_accessors.phpt]
PASS Protocol Buffers empty object serialization and parsing [tests/serialize_and_parse_empty_object.phpt]
PASS Protocol Buffers embedded message serialization [tests/serialize_embedded.phpt]
PASS Protocol Buffers serializeToString() throws Exception if required field not set [tests/serialize_error.phpt]
PASS Protocol Buffers packed field serialization [tests/serialize_packed.phpt]
PASS Protocol Buffers repeated field serialization [tests/serialize_repeated.phpt]
PASS Protocol Buffers simple field serialization [tests/serialize_simple.phpt]
PASS Protocol Buffers setting floating-point value [tests/set_float_field.phpt]
PASS Protocol Buffers setting int64 values [tests/set_int64_field.phpt]
PASS Protocol Buffers setting integer value [tests/set_int_field.phpt]
PASS Protocol Buffers setting object value [tests/set_object_value.phpt]
PASS Protocol Buffers setting string value [tests/set_string_field.phpt]
PASS Protocol Buffers unset field default values [tests/unset_field_default_values.phpt]
=====================================================================
TIME END 2017-02-09 21:21:59
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 56
---------------------------------------------------------------------
Number of tests : 25 25
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 25 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `-' in: --version
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Posting to http://qa.php.net/buildtest-process.php
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
> TRAVIS=1 php run-tests.php -n -d extension_dir=./modules/ -d extension=protobuf.so -P --show-diff --set-timeout 120
=====================================================================
PHP : /usr/local/Cellar/php71/7.1.1_12/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.1.1
ZEND_VERSION: 3.1.0
PHP_OS : Darwin - Darwin Chriss-MBP 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
INI actual : /Users/chrismancini/dev/code/php-protobuf
More .INIs :
CWD : /Users/chrismancini/dev/code/php-protobuf
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2017-02-09 21:22:00
=====================================================================
PASS Protocol Buffers appending floating-point value [tests/append_float_value.phpt]
PASS Protocol Buffers appending integer value [tests/append_int_value.phpt]
PASS Protocol Buffers appending object value [tests/append_object_value.phpt]
PASS Protocol Buffers appending string value [tests/append_string_value.phpt]
PASS Protocol Buffers parse boolean false value [tests/parse_boolean_false.phpt]
PASS Protocol Buffers embedded message parsing [tests/parse_embedded.phpt]
PASS Protocol Buffers parseFromString throws Exception if string is not protobuf-encoded message [tests/parse_error.phpt]
PASS Protocol Buffers packed repeated field parsing [tests/parse_packed_repeated.phpt]
PASS Protocol Buffers repeated field parsing [tests/parse_repeated.phpt]
PASS Protocol Buffers repeated field of length delimited items parsing [tests/parse_repeated_length_delimited.phpt]
PASS Protocol Buffers repeated object field parsing [tests/parse_repeated_obj.phpt]
PASS Protocol Buffers simple field parsing [tests/parse_simple.phpt]
PASS Protocol Buffers repeated field accessors [tests/repeated_field_accessors.phpt]
PASS Protocol Buffers empty object serialization and parsing [tests/serialize_and_parse_empty_object.phpt]
PASS Protocol Buffers embedded message serialization [tests/serialize_embedded.phpt]
PASS Protocol Buffers serializeToString() throws Exception if required field not set [tests/serialize_error.phpt]
PASS Protocol Buffers packed field serialization [tests/serialize_packed.phpt]
PASS Protocol Buffers repeated field serialization [tests/serialize_repeated.phpt]
PASS Protocol Buffers simple field serialization [tests/serialize_simple.phpt]
PASS Protocol Buffers setting floating-point value [tests/set_float_field.phpt]
PASS Protocol Buffers setting int64 values [tests/set_int64_field.phpt]
PASS Protocol Buffers setting integer value [tests/set_int_field.phpt]
PASS Protocol Buffers setting object value [tests/set_object_value.phpt]
PASS Protocol Buffers setting string value [tests/set_string_field.phpt]
PASS Protocol Buffers unset field default values [tests/unset_field_default_values.phpt]
=====================================================================
TIME END 2017-02-09 21:22:01
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 56
---------------------------------------------------------------------
Number of tests : 25 25
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 25 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `-' in: --version
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Posting to http://qa.php.net/buildtest-process.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment