svn: /web/presentations/trunk/slides/intro/ ntwit1.xml ntwit3.xml wp2.xml wp4.xml wp5.xml wp6.xml

From: Date: Thu, 11 Mar 2010 21:50:44 +0000
Subject: svn: /web/presentations/trunk/slides/intro/ ntwit1.xml ntwit3.xml wp2.xml wp4.xml wp5.xml wp6.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1625@lists.php.net to get a copy of this message
rasmus Thu, 11 Mar 2010 21:50:44 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296091 Log: Tweaks Changed paths: U web/presentations/trunk/slides/intro/ntwit1.xml U web/presentations/trunk/slides/intro/ntwit3.xml U web/presentations/trunk/slides/intro/wp2.xml U web/presentations/trunk/slides/intro/wp4.xml U web/presentations/trunk/slides/intro/wp5.xml U web/presentations/trunk/slides/intro/wp6.xml Modified: web/presentations/trunk/slides/intro/ntwit1.xml =================================================================== --- web/presentations/trunk/slides/intro/ntwit1.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/ntwit1.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -1,6 +1,6 @@ <slide title="Twit Code"> -<example fontsize="1.4em" type="shell" title="Baseline Benchmark"><![CDATA[|00aaff|~>| *siege -b -t30s -c5 http://twit.localhost* +<example fontsize="1.4em" type="shell" title="Baseline Benchmark (same hardware)"><![CDATA[|00aaff|~>| *siege -b -t30s -c5 http://twit.localhost* ** SIEGE 2.68 ** Preparing 5 concurrent users for battle. The server is now under siege... Modified: web/presentations/trunk/slides/intro/ntwit3.xml =================================================================== --- web/presentations/trunk/slides/intro/ntwit3.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/ntwit3.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -388,8 +388,8 @@ <blurb fontsize="3em"> Right, so it does speed up a bit, but still doesn't quite match Apache-PHP here. The thread-coordination and -corresponding locking that is necessary will slow things down a bit, but it shouldn't be this much. We are -still missing something. +corresponding locking that is necessary will slow things down a bit, but it shouldn't be this much. And you should +easily make up for that with the compiled speedup. We are still missing something. </blurb> </slide> Modified: web/presentations/trunk/slides/intro/wp2.xml =================================================================== --- web/presentations/trunk/slides/intro/wp2.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/wp2.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -43,4 +43,10 @@ 6 0 297704 333412 103660 680792 0 0 0 0 279 1655 91 9 *|ffff00|0|* 0 </example> +<blurb fontsize="3em"> +The cpu *id*le column is 0, and the io *wa*it is 0. If you have *id*>10 and *wa*>10 then +you are likely io-bound and you need to track down your io issues instead of worrying about +PHP. +</blurb> + </slide> Modified: web/presentations/trunk/slides/intro/wp4.xml =================================================================== --- web/presentations/trunk/slides/intro/wp4.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/wp4.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -22,6 +22,7 @@ <blurb fontsize="3em"> Not bad, no redundant include_once/require_once (would show as dotted lines). -Still too many levels for my liking though. +Still too many levels for my liking though. If you are reading this on the +Web, right-click and load the image in a separate tab to see it better. </blurb> </slide> Modified: web/presentations/trunk/slides/intro/wp5.xml =================================================================== --- web/presentations/trunk/slides/intro/wp5.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/wp5.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -120,4 +120,9 @@ open("/var/www/wp1/wp-content/themes/default/images/kubrickheader.jpg", O_RDONLY) = 29 open("/var/www/wp1/wp-content/themes/default/images/kubrickfooter.jpg", O_RDONLY) = 29 ]]></example> + +<blurb fontsize="3em"> +We just have translations, plugins and themes left here now. We could hardcode these as +well, but then we start to lose the main characteristics of Wordpress. +</blurb> </slide> Modified: web/presentations/trunk/slides/intro/wp6.xml =================================================================== --- web/presentations/trunk/slides/intro/wp6.xml 2010-03-11 21:25:55 UTC (rev 296090) +++ web/presentations/trunk/slides/intro/wp6.xml 2010-03-11 21:50:44 UTC (rev 296091) @@ -66,4 +66,9 @@ - function end_lvl(&$output) {} +*|ffff00|#|* function end_lvl(&$output) {} ]]></example> + +<blurb fontsize="3em"> +Getting rid of PHP-4 style *new* references and stub methods and constructors that serve no purpose. +</blurb> + </slide>

« previous php.pres (#1625) next »