<!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 <fpizlo@apple.com>
+
+ 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 <fpizlo@apple.com>
</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 "pathname"
</span><span class="cx"> require "shellwords"
</span><span class="cx">
</span><del>-VERSION = "1.1-alpha3"
</del><ins>+VERSION = "1.1-alpha4"
</ins><span class="cx"> DIRECTORY_NAME = "JetStream-#{VERSION}"
</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"> <!--
</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 <a href="https://www.cs.purdue.edu/sss/projects/cdx/">CDx</a> benchmark,
+ hand-translated to JavaScript.
</ins><span class="cx"> </p>
</span><span class="cx">
</span><span class="cx"> <p>
</span><span class="lines">@@ -68,6 +69,11 @@
</span><span class="cx"> first-load, code-multi-load).
</span><span class="cx"> </p>
</span><span class="cx">
</span><ins>+ <p>
+ Note that scores from JetStream @VERSION@ are not comparable to scores from other versions
+ of JetStream.
+ </p>
+
</ins><span class="cx"> <dl>
</span><span class="cx">
</span><span class="cx"> <a name="3d-cube">
</span><span class="lines">@@ -91,6 +97,25 @@
</span><span class="cx"> <dd>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: <a href="sources/base64.js">base64.js</a></dd>
</span><span class="cx">
</span><ins>+ <a name="cdjs">
+ <dt>cdjs</dt>
+ <dd>JavaScript implementation of the
+ <a href="https://www.cs.purdue.edu/sss/projects/cdx/">CDx collision detection
+ benchmark</a>. Measures the browser's worst-case performance over 200 collision
+ detection runs.
+ Source code: <a href="sources/cdjs-benchmark.js">benchmark.js</a>,
+ <a href="sources/cdjs-call_sign.js">call_sign.js</a>,
+ <a href="sources/cdjs-collision.js">collision.js</a>,
+ <a href="sources/cdjs-collision_detector.js">collision_detector.js</a>,
+ <a href="sources/cdjs-constants.js">constants.js</a>,
+ <a href="sources/cdjs-motion.js">motion.js</a>,
+ <a href="sources/cdjs-red_black_tree.js">red_black_tree.js</a>,
+ <a href="sources/cdjs-reduce_collision_set.js">reduce_collision_set.js</a>,
+ <a href="sources/cdjs-simulator.js">simulator.js</a>,
+ <a href="sources/cdjs-util.js">util.js</a>,
+ <a href="sources/cdjs-vector_2d.js">vector_2d.js</a>,
+ <a href="sources/cdjs-vector_3d.js">vector_3d.js</a></dd>
+
</ins><span class="cx"> <a name="code-first-load">
</span><span class="cx"> <dt>code-first-load</dt>
</span><span class="cx"> <dd>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: <a href="sources/code-multi-load-code-load.js">code-load.js</a></dd>
</span><span class="cx">
</span><del>- <a name="cordic">
- <dt>cordic</dt>
- <dd>JavaScript implementation of the
- <a href="http://en.wikipedia.org/wiki/CORDIC">CORDIC algorithm</a> by Rich Moore. Tests
- floating point math in short-running code.
- This benchmark was previously published as part of SunSpider.
- Source code: <a href="sources/cordic.js">cordic.js</a></dd>
-
</del><span class="cx"> <a name="crypto-aes">
</span><span class="cx"> <dt>crypto-aes</dt>
</span><span class="cx"> <dd><a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">Advanced Encryption
</span><span class="lines">@@ -149,12 +166,14 @@
</span><span class="cx">
</span><span class="cx"> <a name="mandreel-latency">
</span><span class="cx"> <dt>mandreel-latency</dt>
</span><del>- <dd>Tests the <a href="http://bulletphysics.org/">Bullet</a> 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>+ <dd>Tests the <a href="http://bulletphysics.org/">Bullet</a> physics engine's worst case
+ performance over many iterations. The physics engine is compiled to JavaScript with
</ins><span class="cx"> <a href="http://www.mandreel.com">Mandreel</a>. JetStream also reports the throughput score
</span><span class="cx"> for this test as <a href="#mandreel">mandreel</a>.
</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
+ <a href="http://trac.webkit.org/changeset/185425">different latency metric</a>
+ based on the average of the <a href="http://trac.webkit.org/changeset/186041">worst 0.5%</a>
+ samples.
</ins><span class="cx"> Source code: <a href="sources/mandreel.js">mandreel.js</a></dd>
</span><span class="cx">
</span><span class="cx"> <a name="n-body">
</span><span class="lines">@@ -175,10 +194,13 @@
</span><span class="cx">
</span><span class="cx"> <a name="splay-latency">
</span><span class="cx"> <dt>splay-latency</dt>
</span><del>- <dd>Tests the performance variability of manipulating a
</del><ins>+ <dd>Tests the worst-case performane of manipulating a
</ins><span class="cx"> <a href="http://en.wikipedia.org/wiki/Splay_tree">splay tree</a> represented using plain
</span><span class="cx"> JavaScript objects. JetStream also reports the throughput score for this test
</span><del>- as <a href="#splay">splay</a>. This benchmark was previously published in Octane version 2.
</del><ins>+ as <a href="#splay">splay</a>. This benchmark was previously published in Octane version 2, but JetStream uses a
+ <a href="http://trac.webkit.org/changeset/185425">different latency metric</a>
+ based on the average of the <a href="http://trac.webkit.org/changeset/186041">worst 0.5%</a>
+ samples.
</ins><span class="cx"> Source code: <a href="sources/splay.js">splay.js</a></dd>
</span><span class="cx">
</span><span class="cx"> <a name="tagcloud">
</span><span class="lines">@@ -280,8 +302,8 @@
</span><span class="cx"> <dt>mandreel</dt>
</span><span class="cx"> <dd>Tests the <a href="http://bulletphysics.org/">Bullet</a> physics engine's throughput.
</span><span class="cx"> The physics engine is compiled to JavaScript with
</span><del>- <a href="http://www.mandreel.com">Mandreel</a>. JetStream also reports the performance
- variability score
</del><ins>+ <a href="http://www.mandreel.com">Mandreel</a>. JetStream also reports the worst-case
+ performance score
</ins><span class="cx"> for this test as <a href="#mandreel-latency">mandreel-latency</a>.
</span><span class="cx"> This benchmark was previously published in Octane version 2.
</span><span class="cx"> Source code: <a href="sources/mandreel.js">mandreel.js</a></dd>
</span><span class="lines">@@ -336,7 +358,7 @@
</span><span class="cx"> <dt>splay</dt>
</span><span class="cx"> <dd>Tests the throughput of manipulating a
</span><span class="cx"> <a href="http://en.wikipedia.org/wiki/Splay_tree">splay tree</a> 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 <a href="#splay-latency">splay-latency</a>.
</span><span class="cx"> This benchmark was previously published in Octane version 2.
</span><span class="cx"> Source code: <a href="sources/splay.js">splay.js</a></dd>
</span></span></pre>
</div>
</div>
</body>
</html>