com presentations: Profiling talk for php|tek: profiling-tek13.xml slides/profiling/code-or-data.xml slides/profiling/find-out-if-it-is-slow.xml
slides/profiling/knuth.xml slides/profiling/knuth1.png slides/profiling/knuth2.png slides/profiling/symfony-time.jpg
slides/profiling/timing-points.xml

From: Date: Mon, 13 May 2013 16:24:07 +0000
Subject: com presentations: Profiling talk for php|tek: profiling-tek13.xml slides/profiling/code-or-data.xml slides/profiling/find-out-if-it-is-slow.xml
slides/profiling/knuth.xml slides/profiling/knuth1.png slides/profiling/knuth2.png slides/profiling/symfony-time.jpg
slides/profiling/timing-points.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1891@lists.php.net to get a copy of this message
Commit: 3ea9de0d285e8a0c6a9997d33fef08c825c8b910 Author: Derick Rethans <github@derickrethans.nl> Mon, 13 May 2013 17:24:07 +0100 Parents: ce7776f0bc43e18a070bde8a905ae1142f9417c8 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=3ea9de0d285e8a0c6a9997d33fef08c825c8b910 Log: Profiling talk for php|tek Changed paths: A profiling-tek13.xml M slides/profiling/code-or-data.xml M slides/profiling/find-out-if-it-is-slow.xml A slides/profiling/knuth.xml A slides/profiling/knuth1.png A slides/profiling/knuth2.png A slides/profiling/symfony-time.jpg M slides/profiling/timing-points.xml Diff: diff --git a/profiling-tek13.xml b/profiling-tek13.xml new file mode 100644 index 0000000..0928e9c --- /dev/null +++ b/profiling-tek13.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<presentation css="10gen.css"> +<topic>Debugging</topic> +<title>Performance Perpetrators: Profiling for Professionals</title> +<event>tek 13</event> +<location>Rosemont, IL, US</location> +<date>May 15th, 2013</date> +<speaker>Derick Rethans</speaker> +<email>derick@derickrethans.nl</email> +<twitter>derickr</twitter> +<url>http://derickrethans.nl/talks.html</url> +<joindin>http://joind.in/8155</joindin> +<slide>slides/dbus/title.xml</slide> +<slide>slides/mongodb/me.xml</slide> + +<!-- not everything you read on the internet *matters* --> +<!-- not everything you read on the internet is true --> +<slide>slides/profiling/does-not-matter.xml</slide> +<slide>slides/profiling/does-not-matter2.xml</slide> +<slide>slides/profiling/knuth.xml</slide> + +<!-- benchmark --> +<slide>slides/profiling/is-it-slow.xml</slide> +<slide>slides/profiling/find-out-if-it-is-slow.xml</slide> +<slide>slides/profiling/code-or-data.xml</slide> +<slide>slides/profiling/app-specific.xml</slide> +<slide>slides/profiling/understand-code.xml</slide> +<slide>slides/profiling/timing-points.xml</slide> +<!-- - data or code bound --> +<!-- - code with debugging/benchmarking/timingpoints --> +<!-- - check over time --> +<slide>slides/profiling/frontend.xml</slide> + +<!-- understand your code --> +<!-- - inclued --> +<!-- <slide>slides/internals/inclued.xml</slide> --> +<!-- - xdebug tracing --> +<slide>slides/xdebug/why-debugger3.xml</slide> +<slide>slides/xdebug/wtf-happens.xml</slide> +<slide>slides/xdebug/functiontrace-computerized.xml</slide> +<slide>slides/xdebug/trace-tools.xml</slide> +<slide>slides/xdebug/live-demo.xml</slide> + +<slide>slides/xdebug/profile2.xml</slide> + +<slide>slides/profiling/xhprof.xml</slide> + +<slide>slides/xdebug/profiling3.xml</slide> +<slide>slides/xdebug/live-demo.xml</slide> + +<slide>slides/profiling/resources.xml</slide> + +</presentation> diff --git a/slides/profiling/code-or-data.xml b/slides/profiling/code-or-data.xml index 837fadf..a29c54e 100644 --- a/slides/profiling/code-or-data.xml +++ b/slides/profiling/code-or-data.xml @@ -4,7 +4,7 @@ <div effect="fade-out"> <blurb>Multiple possible reasons:</blurb> <list> - <bullet>The database is slow</bullet> + <bullet>The retrieval from a database is slow</bullet> <bullet>There is lots of IO</bullet> <bullet>Your code is slow</bullet> <bullet>The system is busy with other things</bullet> diff --git a/slides/profiling/find-out-if-it-is-slow.xml b/slides/profiling/find-out-if-it-is-slow.xml index d5d0eb1...d6aa173 100644 --- a/slides/profiling/find-out-if-it-is-slow.xml +++ b/slides/profiling/find-out-if-it-is-slow.xml @@ -8,19 +8,19 @@ http://derickrethans.nl/spatial-indexes-data-sqlite.html http://derickrethans.nl/talks.html http://derickrethans.nl/who.html]]></example></bullet> - <bullet>run against your code: %siege -c 4 -r 10 -f /tmp/urls.txt%</bullet> + <bullet>run against your code: %siege -c 40 -r 10 -f /tmp/urls.txt%</bullet> </list> -<example><![CDATA[Transactions: 40 hits +<example><![CDATA[Transactions: 400 hits Availability: 100.00 % -Elapsed time: 9.76 secs -Data transferred: 1.34 MB -Response time: 0.18 secs -Transaction rate: 4.10 trans/sec -Throughput: 0.14 MB/sec -Concurrency: 0.73 -Successful transactions: 40 +Elapsed time: 9.82 secs +Data transferred: 17.04 MB +Response time: 0.10 secs +Transaction rate: 40.73 trans/sec +Throughput: 1.74 MB/sec +Concurrency: 4.16 +Successful transactions: 400 Failed transactions: 0 -Longest transaction: 0.39 -Shortest transaction: 0.08]]></example> +Longest transaction: 0.68 +Shortest transaction: 0.01]]></example> </slide> diff --git a/slides/profiling/knuth.xml b/slides/profiling/knuth.xml new file mode 100644 index 0000000..edd9b7e --- /dev/null +++ b/slides/profiling/knuth.xml @@ -0,0 +1,9 @@ +<slide> + +<div effect="fade-out"> +<image filename="knuth1.png"/> +</div> +<div effect="fade-in"> +<image filename="knuth2.png"/> +</div> +</slide> diff --git a/slides/profiling/knuth1.png b/slides/profiling/knuth1.png new file mode 100644 index 0000000..ffe27ba Binary files /dev/null and b/slides/profiling/knuth1.png differ diff --git a/slides/profiling/knuth2.png b/slides/profiling/knuth2.png new file mode 100644 index 0000000..8db6936 Binary files /dev/null and b/slides/profiling/knuth2.png differ diff --git a/slides/profiling/symfony-time.jpg b/slides/profiling/symfony-time.jpg new file mode 100644 index 0000000..9be6ca0 Binary files /dev/null and b/slides/profiling/symfony-time.jpg differ diff --git a/slides/profiling/timing-points.xml b/slides/profiling/timing-points.xml index 63ae569..b53a25d 100644 --- a/slides/profiling/timing-points.xml +++ b/slides/profiling/timing-points.xml @@ -16,6 +16,6 @@ <div effect="fade-in-out"> <blurb>Symfony:</blurb> -<image filename="symfony-time.png" pdf-scale="0.4" y-offset="8.25" x-offset="19" pdf-float="1"/> +<image filename="symfony-time.jpg" pdf-scale="0.4" y-offset="8.25" x-offset="19" pdf-float="1"/> </div> </slide>

« previous php.pres (#1891) next »