Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP7 @ PHP Day Spain 2015

PHP7 @ PHP Day Spain 2015

Presentation of the new PHP version along with bits of history and benchmarks of our Ulabox app at the PHP Day Spain 2015

Albert Casademont

January 31, 2015
Tweet

More Decks by Albert Casademont

Other Decks in Technology

Transcript

  1. Internals heavily modified data structs (current extensions won't work) call

    frame optimization new memory manager we finally have an AST! no JIT (yet)
  2. Internals Immutable arrays PCRE with JIT new JSON parser ...and

    more to come (watch Dmitry Stogof's talk on PHP7 internals for more!)
  3. Test environment VM Debian 7 1GB RAM, 1 core, SSD

    ulabox.com symfony 2 index / product page PHP 5.5 / 5.6 / 7.0 opcache.validate_timestamps = 0 opcache.enable_file_override = 1 HHVM 3.5 Hhvm.server_stat_cache = 1 No extensions! (APCu) Nginx, Redis, Solr, MySQL
  4. PHP 5.5 PHP 5.6 XXX XXX 0 20 40 60

    80 100 120 140 160 180 200 102 101 61 64 133 130 79 83 190 190 112 32 Index Product Bench.php msec
  5. PHP 5.5 PHP 5.6 PHP 7.0 HHVM 3.5 0 20

    40 60 80 100 120 140 160 180 200 102 101 61 64 133 130 79 83 190 190 112 32 Index Product Bench.php msec