<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[186142] trunk/PerformanceTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/186142">186142</a></dd>
<dt>Author</dt> <dd>fpizlo@apple.com</dd>
<dt>Date</dt> <dd>2015-06-30 15:58:13 -0700 (Tue, 30 Jun 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update the JetStream documentation to reflect the recent changes
https://bugs.webkit.org/show_bug.cgi?id=146474

Reviewed by Geoffrey Garen.

* JetStream/create.rb: Bump the version.
* JetStream/in-depth-TEMPLATE.html: Add cdjs documentation. Remove cordic documentation. Change documentation for splay and mandreel.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkPerformanceTestsChangeLog">trunk/PerformanceTests/ChangeLog</a></li>
<li><a href="#trunkPerformanceTestsJetStreamcreaterb">trunk/PerformanceTests/JetStream/create.rb</a></li>
<li><a href="#trunkPerformanceTestsJetStreamindepthTEMPLATEhtml">trunk/PerformanceTests/JetStream/in-depth-TEMPLATE.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkPerformanceTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/PerformanceTests/ChangeLog (186141 => 186142)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/PerformanceTests/ChangeLog        2015-06-30 22:58:05 UTC (rev 186141)
+++ trunk/PerformanceTests/ChangeLog        2015-06-30 22:58:13 UTC (rev 186142)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2015-06-30  Filip Pizlo  &lt;fpizlo@apple.com&gt;
+
+        Update the JetStream documentation to reflect the recent changes
+        https://bugs.webkit.org/show_bug.cgi?id=146474
+
+        Reviewed by Geoffrey Garen.
+
+        * JetStream/create.rb: Bump the version.
+        * JetStream/in-depth-TEMPLATE.html: Add cdjs documentation. Remove cordic documentation. Change documentation for splay and mandreel.
+
</ins><span class="cx"> 2015-06-26  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [JetStream] Raise the percentile of mandreel-latency and splay-latency
</span></span></pre></div>
<a id="trunkPerformanceTestsJetStreamcreaterb"></a>
<div class="modfile"><h4>Modified: trunk/PerformanceTests/JetStream/create.rb (186141 => 186142)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/PerformanceTests/JetStream/create.rb        2015-06-30 22:58:05 UTC (rev 186141)
+++ trunk/PerformanceTests/JetStream/create.rb        2015-06-30 22:58:13 UTC (rev 186142)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> require &quot;pathname&quot;
</span><span class="cx"> require &quot;shellwords&quot;
</span><span class="cx"> 
</span><del>-VERSION = &quot;1.1-alpha3&quot;
</del><ins>+VERSION = &quot;1.1-alpha4&quot;
</ins><span class="cx"> DIRECTORY_NAME = &quot;JetStream-#{VERSION}&quot;
</span><span class="cx"> 
</span><span class="cx"> CDJS_FILES = [
</span></span></pre></div>
<a id="trunkPerformanceTestsJetStreamindepthTEMPLATEhtml"></a>
<div class="modfile"><h4>Modified: trunk/PerformanceTests/JetStream/in-depth-TEMPLATE.html (186141 => 186142)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/PerformanceTests/JetStream/in-depth-TEMPLATE.html        2015-06-30 22:58:05 UTC (rev 186141)
+++ trunk/PerformanceTests/JetStream/in-depth-TEMPLATE.html        2015-06-30 22:58:13 UTC (rev 186142)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> &lt;!--
</span><del>- Copyright (C) 2014 Apple Inc. All rights reserved.
</del><ins>+ Copyright (C) 2014, 2015 Apple Inc. All rights reserved.
</ins><span class="cx"> 
</span><span class="cx">  Redistribution and use in source and binary forms, with or without
</span><span class="cx">  modification, are permitted provided that the following conditions
</span><span class="lines">@@ -55,8 +55,9 @@
</span><span class="cx">     JetStream includes benchmarks from the SunSpider 1.0.2 and Octane 2 JavaScript
</span><span class="cx">     benchmark suites. It also includes benchmarks from the LLVM compiler open source
</span><span class="cx">     project, compiled to JavaScript using Emscripten 1.13. It also includes a
</span><del>-    benchmark based on the Apache Harmony open source project's HashMap, hand-translated
-    to JavaScript.
</del><ins>+    benchmark based on the Apache Harmony open source project's HashMap and a port of
+    the &lt;a href=&quot;https://www.cs.purdue.edu/sss/projects/cdx/&quot;&gt;CDx&lt;/a&gt; benchmark,
+    hand-translated to JavaScript.
</ins><span class="cx">     &lt;/p&gt;
</span><span class="cx">     
</span><span class="cx">     &lt;p&gt;
</span><span class="lines">@@ -68,6 +69,11 @@
</span><span class="cx">     first-load, code-multi-load).
</span><span class="cx">     &lt;/p&gt;
</span><span class="cx">     
</span><ins>+    &lt;p&gt;
+    Note that scores from JetStream @VERSION@ are not comparable to scores from other versions
+    of JetStream.
+    &lt;/p&gt;
+    
</ins><span class="cx">     &lt;dl&gt;
</span><span class="cx">     
</span><span class="cx">     &lt;a name=&quot;3d-cube&quot;&gt;
</span><span class="lines">@@ -91,6 +97,25 @@
</span><span class="cx">     &lt;dd&gt;Base64 encoder/decoder written in JavaScript, originally from the Mozilla XML-RPC client component. Tests string manipulation. This benchmark was previously published as part of SunSpider.
</span><span class="cx">       Source code: &lt;a href=&quot;sources/base64.js&quot;&gt;base64.js&lt;/a&gt;&lt;/dd&gt;
</span><span class="cx">     
</span><ins>+    &lt;a name=&quot;cdjs&quot;&gt;
+    &lt;dt&gt;cdjs&lt;/dt&gt;
+    &lt;dd&gt;JavaScript implementation of the
+      &lt;a href=&quot;https://www.cs.purdue.edu/sss/projects/cdx/&quot;&gt;CDx collision detection
+        benchmark&lt;/a&gt;. Measures the browser's worst-case performance over 200 collision
+      detection runs.
+      Source code: &lt;a href=&quot;sources/cdjs-benchmark.js&quot;&gt;benchmark.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-call_sign.js&quot;&gt;call_sign.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-collision.js&quot;&gt;collision.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-collision_detector.js&quot;&gt;collision_detector.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-constants.js&quot;&gt;constants.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-motion.js&quot;&gt;motion.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-red_black_tree.js&quot;&gt;red_black_tree.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-reduce_collision_set.js&quot;&gt;reduce_collision_set.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-simulator.js&quot;&gt;simulator.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-util.js&quot;&gt;util.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-vector_2d.js&quot;&gt;vector_2d.js&lt;/a&gt;,
+      &lt;a href=&quot;sources/cdjs-vector_3d.js&quot;&gt;vector_3d.js&lt;/a&gt;&lt;/dd&gt;
+    
</ins><span class="cx">     &lt;a name=&quot;code-first-load&quot;&gt;
</span><span class="cx">     &lt;dt&gt;code-first-load&lt;/dt&gt;
</span><span class="cx">     &lt;dd&gt;Test of code load speed of the jQuery and Closure libraries. This test attempts to defeat
</span><span class="lines">@@ -105,14 +130,6 @@
</span><span class="cx">       This test was previously published in Octane version 1.
</span><span class="cx">       Source code: &lt;a href=&quot;sources/code-multi-load-code-load.js&quot;&gt;code-load.js&lt;/a&gt;&lt;/dd&gt;
</span><span class="cx">     
</span><del>-    &lt;a name=&quot;cordic&quot;&gt;
-    &lt;dt&gt;cordic&lt;/dt&gt;
-    &lt;dd&gt;JavaScript implementation of the
-      &lt;a href=&quot;http://en.wikipedia.org/wiki/CORDIC&quot;&gt;CORDIC algorithm&lt;/a&gt; by Rich Moore. Tests
-      floating point math in short-running code.
-      This benchmark was previously published as part of SunSpider.
-      Source code: &lt;a href=&quot;sources/cordic.js&quot;&gt;cordic.js&lt;/a&gt;&lt;/dd&gt;
-    
</del><span class="cx">     &lt;a name=&quot;crypto-aes&quot;&gt;
</span><span class="cx">     &lt;dt&gt;crypto-aes&lt;/dt&gt;
</span><span class="cx">     &lt;dd&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Advanced_Encryption_Standard&quot;&gt;Advanced Encryption
</span><span class="lines">@@ -149,12 +166,14 @@
</span><span class="cx">     
</span><span class="cx">     &lt;a name=&quot;mandreel-latency&quot;&gt;
</span><span class="cx">     &lt;dt&gt;mandreel-latency&lt;/dt&gt;
</span><del>-    &lt;dd&gt;Tests the &lt;a href=&quot;http://bulletphysics.org/&quot;&gt;Bullet&lt;/a&gt; physics engine's performance
-      variability from iteration to iteration. This rewards JavaScript engines that have uniform
-      performance over time. The physics engine is compiled to JavaScript with
</del><ins>+    &lt;dd&gt;Tests the &lt;a href=&quot;http://bulletphysics.org/&quot;&gt;Bullet&lt;/a&gt; physics engine's worst case
+      performance over many iterations. The physics engine is compiled to JavaScript with
</ins><span class="cx">       &lt;a href=&quot;http://www.mandreel.com&quot;&gt;Mandreel&lt;/a&gt;. JetStream also reports the throughput score
</span><span class="cx">       for this test as &lt;a href=&quot;#mandreel&quot;&gt;mandreel&lt;/a&gt;.
</span><del>-      This benchmark was previously published in Octane version 2.
</del><ins>+      This benchmark was previously published in Octane version 2, but JetStream uses a
+      &lt;a href=&quot;http://trac.webkit.org/changeset/185425&quot;&gt;different latency metric&lt;/a&gt;
+      based on the average of the &lt;a href=&quot;http://trac.webkit.org/changeset/186041&quot;&gt;worst 0.5%&lt;/a&gt;
+      samples.
</ins><span class="cx">       Source code: &lt;a href=&quot;sources/mandreel.js&quot;&gt;mandreel.js&lt;/a&gt;&lt;/dd&gt;
</span><span class="cx">     
</span><span class="cx">     &lt;a name=&quot;n-body&quot;&gt;
</span><span class="lines">@@ -175,10 +194,13 @@
</span><span class="cx">     
</span><span class="cx">     &lt;a name=&quot;splay-latency&quot;&gt;
</span><span class="cx">     &lt;dt&gt;splay-latency&lt;/dt&gt;
</span><del>-    &lt;dd&gt;Tests the performance variability of manipulating a
</del><ins>+    &lt;dd&gt;Tests the worst-case performane of manipulating a
</ins><span class="cx">       &lt;a href=&quot;http://en.wikipedia.org/wiki/Splay_tree&quot;&gt;splay tree&lt;/a&gt; represented using plain
</span><span class="cx">       JavaScript objects. JetStream also reports the throughput score for this test
</span><del>-      as &lt;a href=&quot;#splay&quot;&gt;splay&lt;/a&gt;. This benchmark was previously published in Octane version 2.
</del><ins>+      as &lt;a href=&quot;#splay&quot;&gt;splay&lt;/a&gt;. This benchmark was previously published in Octane version 2, but JetStream uses a
+      &lt;a href=&quot;http://trac.webkit.org/changeset/185425&quot;&gt;different latency metric&lt;/a&gt;
+      based on the average of the &lt;a href=&quot;http://trac.webkit.org/changeset/186041&quot;&gt;worst 0.5%&lt;/a&gt;
+      samples.
</ins><span class="cx">       Source code: &lt;a href=&quot;sources/splay.js&quot;&gt;splay.js&lt;/a&gt;&lt;/dd&gt;
</span><span class="cx">     
</span><span class="cx">     &lt;a name=&quot;tagcloud&quot;&gt;
</span><span class="lines">@@ -280,8 +302,8 @@
</span><span class="cx">     &lt;dt&gt;mandreel&lt;/dt&gt;
</span><span class="cx">     &lt;dd&gt;Tests the &lt;a href=&quot;http://bulletphysics.org/&quot;&gt;Bullet&lt;/a&gt; physics engine's throughput.
</span><span class="cx">       The physics engine is compiled to JavaScript with
</span><del>-      &lt;a href=&quot;http://www.mandreel.com&quot;&gt;Mandreel&lt;/a&gt;. JetStream also reports the performance
-      variability score
</del><ins>+      &lt;a href=&quot;http://www.mandreel.com&quot;&gt;Mandreel&lt;/a&gt;. JetStream also reports the worst-case
+      performance score
</ins><span class="cx">       for this test as &lt;a href=&quot;#mandreel-latency&quot;&gt;mandreel-latency&lt;/a&gt;.
</span><span class="cx">       This benchmark was previously published in Octane version 2.
</span><span class="cx">       Source code: &lt;a href=&quot;sources/mandreel.js&quot;&gt;mandreel.js&lt;/a&gt;&lt;/dd&gt;
</span><span class="lines">@@ -336,7 +358,7 @@
</span><span class="cx">     &lt;dt&gt;splay&lt;/dt&gt;
</span><span class="cx">     &lt;dd&gt;Tests the throughput of manipulating a
</span><span class="cx">       &lt;a href=&quot;http://en.wikipedia.org/wiki/Splay_tree&quot;&gt;splay tree&lt;/a&gt; represented using plain
</span><del>-      JavaScript objects. JetStream also reports the variability score for this test
</del><ins>+      JavaScript objects. JetStream also reports the worst-case performance score for this test
</ins><span class="cx">       as &lt;a href=&quot;#splay-latency&quot;&gt;splay-latency&lt;/a&gt;.
</span><span class="cx">       This benchmark was previously published in Octane version 2.
</span><span class="cx">       Source code: &lt;a href=&quot;sources/splay.js&quot;&gt;splay.js&lt;/a&gt;&lt;/dd&gt;
</span></span></pre>
</div>
</div>

</body>
</html>