com presentations: Fixed my benchmark box: slides/intro/smemwp2017.js slides/intro/wp2017.js slides/intro/wp2017.xml tweakers.html

[email protected] (Rasmus Lerdorf) Sun, 12 Feb 2017 16:52:38 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    6b9cea4dfb8bb84b67d36376bdbb4bb1a871ddca
Author:    Rasmus Lerdorf <[email protected]>         Sun, 12 Feb 2017 08:52:38 -0800
Parents:   399ecf318d810ef2f2f56e818e1d1512b7d91b65
Branches:  master

Link:       http://git.php.net/?p=presentations.git;a=commitdiff;h=6b9cea4dfb8bb84b67d36376bdbb4bb1a871ddca

Log:
Fixed my benchmark box

Changed paths:
  M  slides/intro/smemwp2017.js
  M  slides/intro/wp2017.js
  M  slides/intro/wp2017.xml
  M  tweakers.html


Diff:
diff --git a/slides/intro/smemwp2017.js b/slides/intro/smemwp2017.js
index 42f797f..c67a1d4 100644
--- a/slides/intro/smemwp2017.js
+++ b/slides/intro/smemwp2017.js
@@ -4,7 +4,7 @@ window["render_smemwp"] = function() {
             type: 'column'
         },
         title: {
-            text: 'Wordpress 4.7.2 Memory',
+            text: 'Wordpress 4.3 Memory',
 			style: { fontSize: '40px' }
         },
         subtitle: {
@@ -44,7 +44,7 @@ window["render_smemwp"] = function() {
         series: [{
             name: 'USS - Unique Set Size',
 			yAxis: 0,
-            data: [110.4, 87.3, 75.1, 70.6, 10.3,10.5,10.2,10.1],
+            data: [110.4,87.3,75.1,70.6,10.3,10.5,10.2,10.1],
             dataLabels: {
                 enabled: true,
                 rotation: -90,
diff --git a/slides/intro/wp2017.js b/slides/intro/wp2017.js
index 7c7dfde..eef71f4 100644
--- a/slides/intro/wp2017.js
+++ b/slides/intro/wp2017.js
@@ -4,11 +4,11 @@ window["render_wpbench"] = function() {
             type: 'column'
         },
         title: {
-            text: 'Wordpress 4.7.2',
+            text: 'Wordpress 4.3',
 			style: { fontSize: '40px' }
         },
         subtitle: {
-            text: 'http://wordpress/2017/02/05/hello-world/',
+            text: 'http://wordpress/?p=1',
 			style: { fontSize: '20px' }
         },
         xAxis: [{
@@ -56,7 +56,7 @@ window["render_wpbench"] = function() {
         series: [{
             name: 'r/s @ 10',
 			yAxis: 0,
-            data: [81.17,102.23,101.52,106.27,204.06,208.35,210.53,216.27],
+            data: [193.84,235.50,239.18,256.64,579.14,586.91,591.64,623.38],
             dataLabels: {
                 enabled: true,
                 rotation: -90,
@@ -74,7 +74,7 @@ window["render_wpbench"] = function() {
         }, {
             name: 'r/s @ 20',
 			yAxis: 0,
-            data: [81.36,101.31,101.94,106.31,205.52,208.43,210.88,214.58],
+            data: [195.27,239.06,244.96,259.67,590.74,595.85,603.15,636.81],
             dataLabels: {
                 enabled: true,
                 rotation: -90,
@@ -93,7 +93,7 @@ window["render_wpbench"] = function() {
         }, {
             name: 'r/s @ 40',
 			yAxis: 0,
-            data: [81.69,101.55,101.72,105.58,204.43,209.04,210.45,214.66],
+            data: [194.51,239.05,242.52,258.51,588.31,595.48,600.65,634.11],
             dataLabels: {
                 enabled: true,
                 rotation: -90,
@@ -111,7 +111,7 @@ window["render_wpbench"] = function() {
         }, {
             name: 'latency @ 10',
 			yAxis: 1,
-			data: [120,100,100,90,50,50,50,50],
+			data: [50,40,40,40,20,20,20,20],
 			tooltip: { valueSuffix: 'ms' },
             dataLabels: {
                 enabled: true,
@@ -130,7 +130,7 @@ window["render_wpbench"] = function() {
 		}, {
             name: 'latency @ 20',
 			yAxis: 1,
-			data: [250,200,200,190,100,100,100,90],
+			data: [100,80,80,80,30,30,30,30],
 			tooltip: { valueSuffix: 'ms' },
             dataLabels: {
                 enabled: true,
@@ -149,7 +149,7 @@ window["render_wpbench"] = function() {
 		}, {
             name: 'latency @ 40',
 			yAxis: 1,
-			data: [490,390,390,380,200,190,190,190],
+			data: [200,170,170,160,70,70,70,60],
 			tooltip: { valueSuffix: 'ms' },
             dataLabels: {
                 enabled: true,
diff --git a/slides/intro/wp2017.xml b/slides/intro/wp2017.xml
index 3f9319b..7c3401d 100644
--- a/slides/intro/wp2017.xml
+++ b/slides/intro/wp2017.xml
@@ -8,6 +8,9 @@
 <break lines="1" section="fdo"/>
 <blurb fontsize="1.1em" align="center">GCC Feedback-Directed Optimization (FDO)</blurb>
 <example fontsize="1em" result='0' title="" type="shell nohighlight"><![CDATA[
+$ gcc --version
+gcc (Debian 6.3.0-6) 6.3.0 20170205
+
 $ make clean
 $ make -j8 prof-gen
 ...
diff --git a/tweakers.html b/tweakers.html
index c3dd0d6..11857a5 100644
--- a/tweakers.html
+++ b/tweakers.html
@@ -309,7 +309,10 @@ echo memory_get_usage(true);
 		</section>
 <section id="fdo">
 		<p class="p" style="font-size:1.1em;text-align:center;">GCC Feedback-Directed Optimization (FDO)</p>
-		<pre><code class="shell nohighlight" data-trim style="font-size:1em;" >$ make clean
+		<pre><code class="shell nohighlight" data-trim style="font-size:1em;" >$ gcc --version
+gcc (Debian 6.3.0-6) 6.3.0 20170205
+
+$ make clean
 $ make -j8 prof-gen
 ...
 $ sapi/cgi/php-cgi -T 1000 /var/www/wordpress/index.php &gt; /dev/null
@@ -552,8 +555,8 @@ $bytes = random_bytes(10);
 
 var_dump( $int );
 var_dump( bin2hex($bytes) );</code></pre>
-		<pre class="output" style="font-size:1.2em;">int(318)
-string(20) "a4b84838477a448a3836"
+		<pre class="output" style="font-size:1.2em;">int(-393)
+string(20) "b8f75dd4979e96d916fb"
 		</pre>		</section>	</section>
 	<section>
 		<section id="php71">