Code as Craft Etsy talk

This commit is contained in:
Rasmus Lerdorf
2018-11-12 11:46:09 -05:00
parent 4d523f1700
commit ddb3fe3518
5 changed files with 1076 additions and 8 deletions

1022
etsy18.html Normal file

File diff suppressed because it is too large Load Diff

49
etsy18.xml Normal file
View File

@@ -0,0 +1,49 @@
<presentation
template="simple"
navmode="html"
titlecolor="#000000"
navbarbackground="#bbbbbb"
navbartopiclinks="0"
logo1="images/php-med-trans.png"
titlesize="6em"
navbarheight="3.5em"
examplebackground="#ffffff"
outputbackground="#ffffff"
exampleclass="noshadow"
exampleoutputclass="noshadow"
>
<topic>PHP</topic>
<title>PHP in 2018</title>
<event>Code as Craft</event>
<location>Etsy, Brooklyn</location>
<date>Nov.13, 2018</date>
<speaker>Rasmus Lerdorf</speaker>
<url>http://talks.php.net/etsy18</url>
<twitter>@rasmus</twitter>
<slide>slides/intro/titlepage.xml</slide>
<slide>slides/intro/80s.xml</slide>
<slide>slides/intro/90s.xml</slide>
<slide>slides/intro/nold.xml</slide>
<slide>slides/intro/nold2.xml</slide>
<slide>slides/intro/nold3.xml</slide>
<slide>slides/intro/eco.xml</slide>
<slide>slides/intro/php72_2018.xml</slide>
<slide>slides/intro/php73.xml</slide>
<slide>slides/intro/wp2018.xml</slide>
<slide>slides/intro/smemwp2018.xml</slide>
<slide>slides/intro/supported.xml</slide>
<slide>slides/intro/web_impact_2018.xml</slide>
<slide>slides/intro/dce2018.xml</slide>
<slide>slides/intro/phan_2018.xml</slide>
<slide>slides/intro/phpspy.xml</slide>
<slide>slides/intro/php74_2018.xml</slide>
<slide>slides/intro/thank_you_2018.xml</slide>
</presentation>

View File

@@ -140,7 +140,7 @@ echo array_key_last($a);
]]></example>
<break lines="1" section="php73_opt"/>
<blurb fontsize="1.6em" align="left">DCE and SCCP optimizations</blurb>
<blurb fontsize="1.6em" align="left">More DCE and SCCP optimizations</blurb>
<break lines="1" section="php73misc"/>
<blurb fontsize="1.1em" align="left">Other changes</blurb>

View File

@@ -18,7 +18,7 @@ class User {
]]></example>
<break lines="1" section="php74_preload"/>
<blurb fontsize="1em" align="left">Opcache Preloading</blurb>
<blurb fontsize="1em" align="left">Without Opcache Preloading</blurb>
<example fontsize="1.1em" result='0' title="" type=""><![CDATA[<?php
class A {
@@ -46,6 +46,8 @@ A
<break lines="1" section="php74_preload2"/>
<blurb fontsize="1em" align="left">With Opcache Preloading</blurb>
<example fontsize="1em" result='0' title="" type=""><![CDATA[<?php
function preload($filename) {
if (!opcache_compile_file($filename)) {

View File

@@ -5,29 +5,24 @@
<link fontsize="1em" align="center" href="https://github.com/adsr/phpspy">https://github.com/adsr/phpspy</link>
<break lines="1" section="spy1"/>
<blurb fontsize="1.1em" align="left">Sample frequency in nanoseconds</blurb>
<blurb fontsize="1.1em" align="left">Sample frequency in nanoseconds (or Hz)</blurb>
<example fontsize="0.9em" result='0' title="" type="shell nohighlight"><![CDATA[
$ phpspy -s 200000000 -- php -r 'sleep(1);'
0 sleep <internal>:-1
1 <main> <internal>:-1
# - - - - -
0 sleep <internal>:-1
1 <main> <internal>:-1
# - - - - -
0 sleep <internal>:-1
1 <main> <internal>:-1
# - - - - -
0 sleep <internal>:-1
1 <main> <internal>:-1
# - - - - -
0 sleep <internal>:-1
1 <main> <internal>:-1
# - - - - -
process_vm_readv: No such process
]]></example>