cvs: presentations / oscon07.xml /slides/intro geoflickr.xml hurdles.xml perf_overall1.xml perfsec_ref.xml php4_eol.xml sq1.xml sq2.xml sq3.xml
sq4.xml sq5.xml web2_ref.xml
| From: | Rasmus Lerdorf | Date: | Wed, 25 Jul 2007 15:20:32 +0000 |
| Subject: | cvs: presentations / oscon07.xml /slides/intro geoflickr.xml hurdles.xml perf_overall1.xml perfsec_ref.xml php4_eol.xml sq1.xml sq2.xml sq3.xml sq4.xml sq5.xml web2_ref.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1417@lists.php.net to get a copy of this message | ||
rasmus Wed Jul 25 15:20:32 2007 UTC
Added files:
/presentations oscon07.xml
/presentations/slides/intro hurdles.xml perf_overall1.xml
php4_eol.xml sq1.xml sq2.xml sq3.xml
sq4.xml sq5.xml
Modified files:
/presentations/slides/intro geoflickr.xml perfsec_ref.xml
web2_ref.xml
Log:
OSCON talk
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/geoflickr.xml?r1=1.6&r2=1.7&diff_format=u Index: presentations/slides/intro/geoflickr.xml diff -u presentations/slides/intro/geoflickr.xml:1.6 presentations/slides/intro/geoflickr.xml:1.7 --- presentations/slides/intro/geoflickr.xml:1.6 Wed Feb 21 23:27:46 2007 +++ presentations/slides/intro/geoflickr.xml Wed Jul 25 15:20:32 2007 @@ -11,7 +11,7 @@ $lat = (double)$xml->Latitude; $lon = (double)$xml->Longitude; $rad = (180.0/3.1415926); -$x = 5; $y = 5; +$x = 4; $y = 4; $dlat = ($x/6371) * $rad; $lat1 = $lat - $dlat; $lat2 = $lat + $dlat; $minlat = min($lat1,$lat2); $maxlat = max($lat1,$lat2); @@ -19,7 +19,7 @@ $lon2 = $lon+(($y*cos($maxlat)/6371) * $rad); $minlon = min($lon1,$lon2); $maxlon = max($lon1,$lon2); $params = array('bbox'=>"$minlon,$minlat,$maxlon,$maxlat", - 'min_upload_date'=>time()-2*24*3600); + 'min_upload_date'=>time()-4*24*3600); $photos = $flickr->photosSearch($params); if(isset($photos['photos'])) foreach($photos['photos'] as $photo) { $url = $flickr->getPhotoURL($photo); http://cvs.php.net/viewvc.cgi/presentations/slides/intro/perfsec_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/perfsec_ref.xml diff -u presentations/slides/intro/perfsec_ref.xml:1.1 presentations/slides/intro/perfsec_ref.xml:1.2 --- presentations/slides/intro/perfsec_ref.xml:1.1 Fri Mar 16 04:22:19 2007 +++ presentations/slides/intro/perfsec_ref.xml Wed Jul 25 15:20:32 2007 @@ -4,7 +4,7 @@ <blurb> </blurb> <blurb> </blurb> <link fontsize="3em" marginleft="2em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="2em" leader="Xdebug Profiling: " href="http://xdebug.org/docs-profiling2.php"/> +<link fontsize="3em" marginleft="2em" leader="Xdebug Profiling: " href="http://xdebug.org/docs/profiler"/> <link fontsize="3em" marginleft="2em" leader="sla.ckers.org: " href="http://sla.ckers.org/forum/list.php?3"/> <link fontsize="3em" marginleft="2em" leader="Filter: " href="http://php.net/filter"/> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2_ref.xml?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/intro/web2_ref.xml diff -u presentations/slides/intro/web2_ref.xml:1.4 presentations/slides/intro/web2_ref.xml:1.5 --- presentations/slides/intro/web2_ref.xml:1.4 Fri Feb 23 09:52:55 2007 +++ presentations/slides/intro/web2_ref.xml Wed Jul 25 15:20:32 2007 @@ -1,6 +1,7 @@ <slide title="Resources"> <break lines="3"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> +<link fontsize="3em" marginleft="3em" leader="Thomas: " href="http://www.lerdorf.com/yuitut"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Filter: " href="http://php.net/filter"/> http://cvs.php.net/viewvc.cgi/presentations/oscon07.xml?view=markup&rev=1.1 Index: presentations/oscon07.xml +++ presentations/oscon07.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <!-- Scale, latency, and security are the key words for this year's talk. In order to build these bigger and faster web applications, PHP has gotten bigger and faster as well. This talk will explore recent PHP development and apply it to the three key words. --> <topic>PHP</topic> <title>Bigger and Faster</title> <event>OSCON 2007</event> <location>Portland, OR</location> <date>July 25, 2007</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <url>http://talks.php.net/show/oscon07</url> <slide>slides/intro/titlepage.xml</slide> <!-- History --> <slide>slides/fowa/hist1.xml</slide> <slide>slides/fowa/hist2.xml</slide> <slide>slides/fowa/hist3.xml</slide> <slide>slides/fowa/hist4.xml</slide> <slide>slides/fowa/hist5.xml</slide> <slide>slides/intro/php4_eol.xml</slide> <!-- Performance --> <slide>slides/intro/hurdles.xml</slide> <slide>slides/intro/perf_overall1.xml</slide> <slide>slides/intro/sq1.xml</slide> <slide>slides/intro/sq2.xml</slide> <slide>slides/intro/sq3.xml</slide> <slide>slides/intro/sq4.xml</slide> <slide>slides/intro/sq5.xml</slide> <!-- Security --> <slide>slides/fowa/security.xml</slide> <slide>slides/intro/xss_common.xml</slide> <slide>slides/intro/xss_yrisk.xml</slide> <slide>slides/fowa/filter.xml</slide> <slide>slides/intro/xss_type4.xml</slide> <slide>slides/intro/xss_type5.xml</slide> <slide>slides/intro/xss_type6.xml</slide> <slide>slides/intro/xss_type7.xml</slide> <slide>slides/intro/xss_type8.xml</slide> <slide>slides/intro/xsrf.xml</slide> <slide>slides/intro/perfsec_ref.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/hurdles.xml?view=markup&rev=1.1 Index: presentations/slides/intro/hurdles.xml +++ presentations/slides/intro/hurdles.xml <slide title="2 Major Hurdles"> <break lines="4" /> <blurb fontsize="17em" align="center">Performance</blurb> <blurb fontsize="17em" align="center">Security</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/perf_overall1.xml?view=markup&rev=1.1 Index: presentations/slides/intro/perf_overall1.xml +++ presentations/slides/intro/perf_overall1.xml <slide title="Overall Performance"> <break lines="6" /> <list fontsize="7em"> <item>PHP is rarely the bottleneck</item> <item>80-90% front-end</item> <item>Usability and perception</item> <item>Steve Souders' "High Performance Web Pages" talk at 17:20 today</item> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/php4_eol.xml?view=markup&rev=1.1 Index: presentations/slides/intro/php4_eol.xml +++ presentations/slides/intro/php4_eol.xml <slide title="PHP 4 EOL"> <break lines="8" /> <blurb fontsize="22em" align="center">08/08/08</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq1.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq1.xml +++ presentations/slides/intro/sq1.xml <slide title="SquirrelMail"> <break lines="1" /> <link fontsize="3em" marginleft="1em" leader="Siege: " href="http://www.joedog.org/JoeDog/Siege"/> <example fontsize="1.4em" type="shell" title="Benchmarking SquirrelMail"><![CDATA[ % siege |ffff00|-H| "Cookie: squirrelmail_language=; SQMSESSID=10c85281f476600ee102e2db24354612; key=0Ce3/xkJ" \ |ffff00|-c| 10 http://mail.ubuntu/src/right_main.php |ffff00|-b| |ffff00|-r| 200 ** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 2000 hits Availability: 100.00 % Elapsed time: 64.69 secs Data transferred: 2.81 MB Response time: |ffff00|0.26 secs| Transaction rate: |ffff00|30.92 trans/sec| Throughput: 0.04 MB/sec Concurrency: 8.06 Successful transactions: 2000 Failed transactions: 0 Longest transaction: 27.14 Shortest transaction: 0.02]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq2.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq2.xml +++ presentations/slides/intro/sq2.xml <slide title="Enable APC"> <break lines="1" /> <example fontsize="1.4em" type="shell" title="Enable APC"><![CDATA[ % siege -H "Cookie: squirrelmail_language=; SQMSESSID=10c85281f476600ee102e2db24354612; key=0Ce3/xkJ" \ -c 10 http://mail.ubuntu/src/right_main.php -b -r 1000 ** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 10000 hits Availability: 100.00 % Elapsed time: 85.32 secs Data transferred: 13.72 MB Response time: |ffff00| 0.08 secs| Transaction rate: |ffff00|117.21 trans/sec| Throughput: 0.16 MB/sec Concurrency: 9.25 Successful transactions: 10000 Failed transactions: 0 Longest transaction: 11.02 Shortest transaction: 0.00 ]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq3.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq3.xml +++ presentations/slides/intro/sq3.xml <slide title="Quick optimization"> <break lines="1" /> <example fontsize="1.6em" type="shell" title="right_main.php"><![CDATA[define('SM_PATH','../'); /* SquirrelMail required files. */ include_once(SM_PATH . 'include/validate.php'); //include_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/date.php'); require_once(SM_PATH . 'functions/mime.php'); require_once(SM_PATH . 'functions/mailbox_display.php'); require_once(SM_PATH . 'functions/display_messages.php'); require_once(SM_PATH . 'functions/html.php'); //require_once(SM_PATH . 'functions/plugin.php');.... ]]></example> <example fontsize="1.6em" type="shell" title="Get rid of dynamic paths and _once"><![CDATA[include '../include/validate.php'; require '../functions/imap.php'; require '../functions/date.php'; require '../functions/mime.php'; require '../functions/mailbox_display.php'; require '../functions/display_messages.php'; require '../functions/html.php';]]></example> <example fontsize="1.6em" type="shell" title="Results"><![CDATA[** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 10000 hits Availability: 100.00 % Elapsed time: 57.91 secs Data transferred: 13.72 MB Response time: |ffff00|0.05 secs| Transaction rate: |ffff00|172.68 trans/sec| Throughput: 0.24 MB/sec Concurrency: 8.31 Successful transactions: 10000 Failed transactions: 0 Longest transaction: 11.84 Shortest transaction: 0.00]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq4.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq4.xml +++ presentations/slides/intro/sq4.xml <slide title="Check it with Callgrind"> <break lines="3" /> <example fontsize="2em" type="shell"><![CDATA[% valgrind --tool=callgrind --dump-instr=yes -v \ --instr-atstart=no /usr/sbin/apache -X]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% chmod a+rw callgrind.out.* |ff00ff| - hit the server to warm it up -| % callgrind_control -i on]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% kcachegrind callgrind.out.*]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq5.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq5.xml +++ presentations/slides/intro/sq5.xml <slide title="Check it with XDebug"> <break lines="3" /> <example fontsize="2em" type="shell"><![CDATA[zend_extension=/usr/local/.../xdebug.so xdebug.profiler_enable=1 xdebug.profiler_aggregate = On xdebug.profiler_output_dir=/tmp]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% kcachegrind cachegrind.out.aggregate.*]]></example> </slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/geoflickr.xml?r1=1.6&r2=1.7&diff_format=u Index: presentations/slides/intro/geoflickr.xml diff -u presentations/slides/intro/geoflickr.xml:1.6 presentations/slides/intro/geoflickr.xml:1.7 --- presentations/slides/intro/geoflickr.xml:1.6 Wed Feb 21 23:27:46 2007 +++ presentations/slides/intro/geoflickr.xml Wed Jul 25 15:20:32 2007 @@ -11,7 +11,7 @@ $lat = (double)$xml->Latitude; $lon = (double)$xml->Longitude; $rad = (180.0/3.1415926); -$x = 5; $y = 5; +$x = 4; $y = 4; $dlat = ($x/6371) * $rad; $lat1 = $lat - $dlat; $lat2 = $lat + $dlat; $minlat = min($lat1,$lat2); $maxlat = max($lat1,$lat2); @@ -19,7 +19,7 @@ $lon2 = $lon+(($y*cos($maxlat)/6371) * $rad); $minlon = min($lon1,$lon2); $maxlon = max($lon1,$lon2); $params = array('bbox'=>"$minlon,$minlat,$maxlon,$maxlat", - 'min_upload_date'=>time()-2*24*3600); + 'min_upload_date'=>time()-4*24*3600); $photos = $flickr->photosSearch($params); if(isset($photos['photos'])) foreach($photos['photos'] as $photo) { $url = $flickr->getPhotoURL($photo); http://cvs.php.net/viewvc.cgi/presentations/slides/intro/perfsec_ref.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/perfsec_ref.xml diff -u presentations/slides/intro/perfsec_ref.xml:1.1 presentations/slides/intro/perfsec_ref.xml:1.2 --- presentations/slides/intro/perfsec_ref.xml:1.1 Fri Mar 16 04:22:19 2007 +++ presentations/slides/intro/perfsec_ref.xml Wed Jul 25 15:20:32 2007 @@ -4,7 +4,7 @@ <blurb> </blurb> <blurb> </blurb> <link fontsize="3em" marginleft="2em" leader="Slides: " href=":-:url:-:"/> -<link fontsize="3em" marginleft="2em" leader="Xdebug Profiling: " href="http://xdebug.org/docs-profiling2.php"/> +<link fontsize="3em" marginleft="2em" leader="Xdebug Profiling: " href="http://xdebug.org/docs/profiler"/> <link fontsize="3em" marginleft="2em" leader="sla.ckers.org: " href="http://sla.ckers.org/forum/list.php?3"/> <link fontsize="3em" marginleft="2em" leader="Filter: " href="http://php.net/filter"/> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2_ref.xml?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/intro/web2_ref.xml diff -u presentations/slides/intro/web2_ref.xml:1.4 presentations/slides/intro/web2_ref.xml:1.5 --- presentations/slides/intro/web2_ref.xml:1.4 Fri Feb 23 09:52:55 2007 +++ presentations/slides/intro/web2_ref.xml Wed Jul 25 15:20:32 2007 @@ -1,6 +1,7 @@ <slide title="Resources"> <break lines="3"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> +<link fontsize="3em" marginleft="3em" leader="Thomas: " href="http://www.lerdorf.com/yuitut"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Filter: " href="http://php.net/filter"/> http://cvs.php.net/viewvc.cgi/presentations/oscon07.xml?view=markup&rev=1.1 Index: presentations/oscon07.xml +++ presentations/oscon07.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <!-- Scale, latency, and security are the key words for this year's talk. In order to build these bigger and faster web applications, PHP has gotten bigger and faster as well. This talk will explore recent PHP development and apply it to the three key words. --> <topic>PHP</topic> <title>Bigger and Faster</title> <event>OSCON 2007</event> <location>Portland, OR</location> <date>July 25, 2007</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <url>http://talks.php.net/show/oscon07</url> <slide>slides/intro/titlepage.xml</slide> <!-- History --> <slide>slides/fowa/hist1.xml</slide> <slide>slides/fowa/hist2.xml</slide> <slide>slides/fowa/hist3.xml</slide> <slide>slides/fowa/hist4.xml</slide> <slide>slides/fowa/hist5.xml</slide> <slide>slides/intro/php4_eol.xml</slide> <!-- Performance --> <slide>slides/intro/hurdles.xml</slide> <slide>slides/intro/perf_overall1.xml</slide> <slide>slides/intro/sq1.xml</slide> <slide>slides/intro/sq2.xml</slide> <slide>slides/intro/sq3.xml</slide> <slide>slides/intro/sq4.xml</slide> <slide>slides/intro/sq5.xml</slide> <!-- Security --> <slide>slides/fowa/security.xml</slide> <slide>slides/intro/xss_common.xml</slide> <slide>slides/intro/xss_yrisk.xml</slide> <slide>slides/fowa/filter.xml</slide> <slide>slides/intro/xss_type4.xml</slide> <slide>slides/intro/xss_type5.xml</slide> <slide>slides/intro/xss_type6.xml</slide> <slide>slides/intro/xss_type7.xml</slide> <slide>slides/intro/xss_type8.xml</slide> <slide>slides/intro/xsrf.xml</slide> <slide>slides/intro/perfsec_ref.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/hurdles.xml?view=markup&rev=1.1 Index: presentations/slides/intro/hurdles.xml +++ presentations/slides/intro/hurdles.xml <slide title="2 Major Hurdles"> <break lines="4" /> <blurb fontsize="17em" align="center">Performance</blurb> <blurb fontsize="17em" align="center">Security</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/perf_overall1.xml?view=markup&rev=1.1 Index: presentations/slides/intro/perf_overall1.xml +++ presentations/slides/intro/perf_overall1.xml <slide title="Overall Performance"> <break lines="6" /> <list fontsize="7em"> <item>PHP is rarely the bottleneck</item> <item>80-90% front-end</item> <item>Usability and perception</item> <item>Steve Souders' "High Performance Web Pages" talk at 17:20 today</item> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/php4_eol.xml?view=markup&rev=1.1 Index: presentations/slides/intro/php4_eol.xml +++ presentations/slides/intro/php4_eol.xml <slide title="PHP 4 EOL"> <break lines="8" /> <blurb fontsize="22em" align="center">08/08/08</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq1.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq1.xml +++ presentations/slides/intro/sq1.xml <slide title="SquirrelMail"> <break lines="1" /> <link fontsize="3em" marginleft="1em" leader="Siege: " href="http://www.joedog.org/JoeDog/Siege"/> <example fontsize="1.4em" type="shell" title="Benchmarking SquirrelMail"><![CDATA[ % siege |ffff00|-H| "Cookie: squirrelmail_language=; SQMSESSID=10c85281f476600ee102e2db24354612; key=0Ce3/xkJ" \ |ffff00|-c| 10 http://mail.ubuntu/src/right_main.php |ffff00|-b| |ffff00|-r| 200 ** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 2000 hits Availability: 100.00 % Elapsed time: 64.69 secs Data transferred: 2.81 MB Response time: |ffff00|0.26 secs| Transaction rate: |ffff00|30.92 trans/sec| Throughput: 0.04 MB/sec Concurrency: 8.06 Successful transactions: 2000 Failed transactions: 0 Longest transaction: 27.14 Shortest transaction: 0.02]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq2.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq2.xml +++ presentations/slides/intro/sq2.xml <slide title="Enable APC"> <break lines="1" /> <example fontsize="1.4em" type="shell" title="Enable APC"><![CDATA[ % siege -H "Cookie: squirrelmail_language=; SQMSESSID=10c85281f476600ee102e2db24354612; key=0Ce3/xkJ" \ -c 10 http://mail.ubuntu/src/right_main.php -b -r 1000 ** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 10000 hits Availability: 100.00 % Elapsed time: 85.32 secs Data transferred: 13.72 MB Response time: |ffff00| 0.08 secs| Transaction rate: |ffff00|117.21 trans/sec| Throughput: 0.16 MB/sec Concurrency: 9.25 Successful transactions: 10000 Failed transactions: 0 Longest transaction: 11.02 Shortest transaction: 0.00 ]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq3.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq3.xml +++ presentations/slides/intro/sq3.xml <slide title="Quick optimization"> <break lines="1" /> <example fontsize="1.6em" type="shell" title="right_main.php"><![CDATA[define('SM_PATH','../'); /* SquirrelMail required files. */ include_once(SM_PATH . 'include/validate.php'); //include_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/date.php'); require_once(SM_PATH . 'functions/mime.php'); require_once(SM_PATH . 'functions/mailbox_display.php'); require_once(SM_PATH . 'functions/display_messages.php'); require_once(SM_PATH . 'functions/html.php'); //require_once(SM_PATH . 'functions/plugin.php');.... ]]></example> <example fontsize="1.6em" type="shell" title="Get rid of dynamic paths and _once"><![CDATA[include '../include/validate.php'; require '../functions/imap.php'; require '../functions/date.php'; require '../functions/mime.php'; require '../functions/mailbox_display.php'; require '../functions/display_messages.php'; require '../functions/html.php';]]></example> <example fontsize="1.6em" type="shell" title="Results"><![CDATA[** SIEGE 2.66 ** Preparing 10 concurrent users for battle. The server is now under siege.. done. Transactions: 10000 hits Availability: 100.00 % Elapsed time: 57.91 secs Data transferred: 13.72 MB Response time: |ffff00|0.05 secs| Transaction rate: |ffff00|172.68 trans/sec| Throughput: 0.24 MB/sec Concurrency: 8.31 Successful transactions: 10000 Failed transactions: 0 Longest transaction: 11.84 Shortest transaction: 0.00]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq4.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq4.xml +++ presentations/slides/intro/sq4.xml <slide title="Check it with Callgrind"> <break lines="3" /> <example fontsize="2em" type="shell"><![CDATA[% valgrind --tool=callgrind --dump-instr=yes -v \ --instr-atstart=no /usr/sbin/apache -X]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% chmod a+rw callgrind.out.* |ff00ff| - hit the server to warm it up -| % callgrind_control -i on]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% kcachegrind callgrind.out.*]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/sq5.xml?view=markup&rev=1.1 Index: presentations/slides/intro/sq5.xml +++ presentations/slides/intro/sq5.xml <slide title="Check it with XDebug"> <break lines="3" /> <example fontsize="2em" type="shell"><![CDATA[zend_extension=/usr/local/.../xdebug.so xdebug.profiler_enable=1 xdebug.profiler_aggregate = On xdebug.profiler_output_dir=/tmp]]></example> <break lines="1" /> <example fontsize="2em" type="shell"><![CDATA[% kcachegrind cachegrind.out.aggregate.*]]></example> </slide>