svn: /web/presentations/trunk/slides/intro/ perf_conclusion.xml wp4.xml wp9.xml
| From: | Rasmus Lerdorf | Date: | Thu, 11 Mar 2010 12:14:28 +0000 |
| Subject: | svn: /web/presentations/trunk/slides/intro/ perf_conclusion.xml wp4.xml wp9.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1622@lists.php.net to get a copy of this message | ||
rasmus Thu, 11 Mar 2010 12:14:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296066
Log:
Tweaks
Changed paths:
U web/presentations/trunk/slides/intro/perf_conclusion.xml
U web/presentations/trunk/slides/intro/wp4.xml
U web/presentations/trunk/slides/intro/wp9.xml
Modified: web/presentations/trunk/slides/intro/perf_conclusion.xml
===================================================================
--- web/presentations/trunk/slides/intro/perf_conclusion.xml 2010-03-11 11:23:38 UTC (rev 296065)
+++ web/presentations/trunk/slides/intro/perf_conclusion.xml 2010-03-11 12:14:28 UTC (rev 296066)
@@ -1,11 +1,12 @@
<slide title="Conclusion">
<break lines="1"/>
-<list fontsize="3em">
+<list fontsize="4em">
<bullet>Performance is all about flexibility vs. cost tradeoffs.</bullet>
<bullet>If you don't know what things cost, you are lost.</bullet>
<bullet>Learn your tools - strace, Callgrind, Xdebug, xhprof.</bullet>
<bullet>Check your assumptions.</bullet>
+<bullet>Real performance is architecture-driven</bullet>
</list>
</slide>
Modified: web/presentations/trunk/slides/intro/wp4.xml
===================================================================
--- web/presentations/trunk/slides/intro/wp4.xml 2010-03-11 11:23:38 UTC (rev 296065)
+++ web/presentations/trunk/slides/intro/wp4.xml 2010-03-11 12:14:28 UTC (rev 296066)
@@ -22,6 +22,6 @@
<blurb fontsize="3em">
Not bad, no redundant include_once/require_once (would show as dotted lines).
-Still too many levsl for my liking though.
+Still too many levels for my liking though.
</blurb>
</slide>
Modified: web/presentations/trunk/slides/intro/wp9.xml
===================================================================
--- web/presentations/trunk/slides/intro/wp9.xml 2010-03-11 11:23:38 UTC (rev 296065)
+++ web/presentations/trunk/slides/intro/wp9.xml 2010-03-11 12:14:28 UTC (rev 296066)
@@ -60,13 +60,16 @@
+ if ( ( *|ffff00|$_SERVER['REQUEST_TIME']|* - $upgrading ) >= 600 )
]]></example>
-<example fontsize="1em" title="Optimize is_serialized"><![CDATA[//
This condition gets hit often:
+<example fontsize="1.4em" title="Optimize
is_serialized"><![CDATA[<?php
+ ...
+ // This condition gets hit often:
if ( !preg_match( '/^([adObis]):/', $data, $badions ) )
return false;
]]></example>
-<example fontsize="1em" title="Faster
alternative"><![CDATA[if(strlen($data)>1 &&
strpbrk($data,'adObis')==$data && $data[1]==':') $badions[1] = $data[0];
- else return false;
+<example fontsize="1.4em" title="Faster alternative using
strpbrk"><![CDATA[<?php
+if(strlen($data)>1 && strpbrk($data,'adObis')==$data &&
$data[1]==':') $badions[1] = $data[0];
+else return false;
]]></example>
<blurb fontsize="3.5em">