Skip to content

Commit

Permalink
first d3js sample (line graph)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzoller committed Feb 26, 2013
1 parent 25fc5bf commit 25f841b
Show file tree
Hide file tree
Showing 19 changed files with 1,487 additions and 582 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ tmp*
.classpath
.project
.settings
project/plugins.sbt
4 changes: 4 additions & 0 deletions sample/CollectionMethods.map.Arrays.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 11.304287388888888 true 10.363 12.245 "10.376046 10.353719 10.280193 10.438409 10.266719 10.668611 12.150298 10.777168 11.456611 11.912011 13.583866 10.867247 11.877366 12.864388 11.278762 11.134021 11.681039 10.874561 11.069348 11.139025 10.641279 10.92345 12.898649 13.548835 10.906513 11.229489 10.857623 11.033933 12.750056 10.804115 10.776783 11.38655 10.900354 11.317643 11.111693 10.817973"
"Tue Feb 26 21:51:05 CET 2013" 600000 22.33250925 true 20.884 23.781 "21.913883 22.405853 24.656294 22.877807 21.692919 21.448858 21.866918 21.501982 22.435495 24.640511 21.829193 21.93852 21.624398 22.381217 21.537782 24.709032 21.64249 21.634791 21.398044 20.925706 21.436155 21.730645 25.009682 21.739498 21.841896 21.607845 21.875772 21.888861 24.580843 22.140621 21.577818 24.116974 21.558185 20.746317 20.859109 26.198419"
"Tue Feb 26 21:51:05 CET 2013" 900000 33.62377238888889 true 31.384 35.863 "36.182967 32.431207 32.896231 37.20425 32.439291 39.936267 32.816161 32.195615 33.145297 32.169438 36.450124 32.411959 32.647166 31.603556 35.765292 32.383857 31.864169 33.577985 32.702599 35.766447 32.293008 32.562861 32.274531 32.100531 36.383143 31.654755 33.121814 33.022111 36.437421 32.336123 32.681427 32.330733 32.037015 37.820945 32.216402 34.593108"
4 changes: 4 additions & 0 deletions sample/CollectionMethods.map.Lists.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 15.285725944444444 true -4.620 35.192 "7.363782 39.580185 7.168226 7.522768 7.267543 8.273043 7.309888 7.302959 7.347229 57.197983 8.54713 11.065499 9.754345 9.066433 10.172406 8.986747 69.360214 9.867137 8.999066 8.828532 8.831996 9.822097 8.792346 66.407233 7.641719 7.817643 7.695997 8.302684 7.59052 7.570503 64.693034 7.442697 7.035802 6.692808 6.473769 6.494171"
"Tue Feb 26 21:51:05 CET 2013" 600000 41.52801916666667 true -11.030 94.086 "15.658383 30.619615 15.218381 16.128796 16.028323 145.805889 14.822263 14.924661 99.639144 16.196163 15.984439 65.502592 16.01485 16.047956 33.533715 15.280358 14.789927 17.01188 14.968546 15.030138 15.141775 166.580309 15.926311 29.893206 156.303196 14.255226 15.671471 107.008701 21.759131 21.347231 86.256223 16.898319 16.732019 16.653873 170.974556 14.401124"
"Tue Feb 26 21:51:05 CET 2013" 900000 77.03190619444446 true -8.815 162.879 "24.549662 30.378247 24.195889 24.602786 182.612481 24.85878 89.565672 22.834693 25.789598 24.628192 27.004128 207.296878 25.855426 130.723398 24.323308 72.35631 23.994559 25.801147 259.887347 24.207053 201.214221 28.800322 142.656582 24.795263 77.198259 25.332658 23.736639 248.736389 24.785639 207.18447 26.406679 142.815953 27.487629 234.328336 20.995383 21.208647"
4 changes: 4 additions & 0 deletions sample/CollectionMethods.map.Ranges.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 6.55890775 true 4.746 8.372 "5.791631 6.136934 6.521888 5.810109 5.935219 5.788166 5.96486 6.123846 14.133581 6.103058 5.96024 6.533822 5.976793 6.141554 6.065717 5.947921 6.148868 11.535527 7.181699 5.957931 6.00605 6.17697 5.848988 6.444127 5.987572 6.188133 9.29548 6.187363 5.932523 6.156182 5.978719 6.212 6.114607 5.964475 6.065332 5.802794"
"Tue Feb 26 21:51:05 CET 2013" 600000 15.115383888888886 true 8.344 21.887 "11.955512 11.920096 11.981688 25.886991 12.075617 12.696163 11.987078 11.676036 11.989387 36.930162 12.342391 12.357789 12.022109 11.983999 20.667787 13.944953 12.557964 12.470195 12.729269 12.224979 29.842392 11.654862 12.318138 12.525628 11.763034 25.3981 12.039047 11.910472 11.903928 11.914322 22.935165 12.938299 13.063024 12.041356 12.849759 26.656129"
"Tue Feb 26 21:51:05 CET 2013" 900000 21.52843705555556 true 13.935 29.122 "20.186595 25.216017 17.460352 17.310605 17.391445 24.398375 18.964367 17.674771 17.178566 19.185715 17.30098 17.982735 19.287343 19.037123 44.099158 17.765235 17.665148 17.690169 39.588269 17.608944 17.80681 17.841841 34.043008 17.84723 18.908548 18.405798 31.839918 17.950013 18.942039 18.319953 32.104766 19.072153 18.005831 18.129786 34.775961 18.038167"
4 changes: 4 additions & 0 deletions sample/CollectionMethods.sum.Arrays.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 6.899763083333331 true 6.128 7.672 "6.71244 6.849869 6.854873 6.715135 6.84063 6.789816 8.939783 6.491092 6.524198 6.320557 6.413716 6.514574 6.472229 7.694073 6.919545 6.96959 9.011384 6.723604 7.510449 6.790586 7.534317 6.759789 6.629676 6.37753 6.451442 6.606578 8.987518 6.475694 6.461065 6.456831 6.494556 6.507645 6.392544 6.471844 6.516883 7.209416"
"Tue Feb 26 21:51:05 CET 2013" 600000 13.956458999999995 true 12.701 15.212 "15.918612 13.487628 13.574627 13.399474 13.233943 16.111859 15.544437 13.537287 13.457216 14.259461 13.17774 13.417181 16.029478 13.322098 13.327102 13.417182 13.579632 13.50803 15.562145 13.401013 13.55153 13.108064 12.910197 13.329797 16.09954 13.276673 12.895954 13.220855 13.423726 16.975695 14.027718 13.063408 12.959857 13.191983 15.915147 13.216235"
"Tue Feb 26 21:51:05 CET 2013" 900000 20.92060561111111 true 19.293 22.548 "22.424717 21.051586 19.372032 19.407449 19.781238 24.002643 21.553181 19.379732 19.97949 25.054721 19.118348 19.05868 20.319019 20.068029 23.313959 22.804281 19.937145 20.036078 19.80318 23.192315 20.230479 20.487629 20.021064 22.505557 20.039928 20.152719 20.599651 20.101135 22.581008 20.169272 20.193524 20.481084 22.555986 20.551531 20.273209 22.540203"
4 changes: 4 additions & 0 deletions sample/CollectionMethods.sum.Lists.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 4.685273361111111 true -1.488 10.859 "3.618951 3.67015 3.794491 3.66553 4.012759 3.690553 3.71596 3.70903 3.648208 3.644358 3.615102 3.620876 38.088873 3.647823 3.806809 3.676694 3.767158 3.66861 3.677079 4.112077 3.816433 3.626265 3.981963 3.749836 3.794875 3.662066 3.643973 3.689398 3.601243 3.636274 3.801805 3.638968 3.795645 3.644358 3.622801 4.112847"
"Tue Feb 26 21:51:05 CET 2013" 600000 17.67713422222222 true -13.293 48.647 "9.228884 9.302795 9.250056 9.259295 10.148539 9.368237 108.111978 9.092995 8.512484 8.569073 9.867522 8.732678 9.907557 8.899363 9.916411 8.658382 9.883305 9.375166 132.387938 10.751377 9.520678 12.182249 9.610757 9.834801 9.63886 9.571107 9.575727 9.683129 9.675045 9.536847 9.444073 89.782017 7.144358 7.26331 7.194402 7.495437"
"Tue Feb 26 21:51:05 CET 2013" 900000 34.60781083333333 true -28.985 98.200 "14.212881 11.549771 11.799605 12.301971 12.67114 14.982019 12.154148 12.130281 12.129896 12.169161 135.535706 11.408107 11.519359 11.722615 11.614442 12.052135 245.076633 15.514795 15.51672 14.568963 14.432305 127.204535 10.862243 11.164816 11.063189 11.059339 11.048946 11.041246 134.091744 12.285802 12.237683 12.256161 13.262045 13.401398 217.940851 11.898539"
4 changes: 4 additions & 0 deletions sample/CollectionMethods.sum.Ranges.dsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
date param-size value success cilo cihi complete
"Tue Feb 26 21:51:05 CET 2013" 300000 0.0011013611111111111 true 0.000 0.002 "0.001155 0.001154 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 0.001155 0.001155 0.001155 0.001155 0.001154 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 0.001155 0.001155 0.001155 7.7E-4 7.69E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 0.001155 0.001154 0.001155 0.001155 0.001155 0.001155 0.001154 0.006159"
"Tue Feb 26 21:51:05 CET 2013" 600000 0.0012297777777777784 true 0.001 0.002 "7.7E-4 7.7E-4 7.7E-4 0.00231 0.002695 0.00308 0.001155 0.001155 0.002695 0.00231 0.001539 0.00154 0.00154 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.69E-4 0.001155 0.001155 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 0.001155 0.001155 7.7E-4 0.001154 0.001155 0.001155 0.001155 0.001925"
"Tue Feb 26 21:51:05 CET 2013" 900000 0.0011228055555555557 true 0.001 0.002 "7.7E-4 7.7E-4 0.001155 0.001155 0.001154 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 7.7E-4 0.001155 0.001155 0.001155 0.001154 0.001155 0.001155 0.001155 0.001155 0.001155 0.001155 0.001155 0.001155 0.001155 0.001155 0.001154 0.001155 0.001155 0.001155 0.001155 0.001154 0.00308 0.001155 7.7E-4 0.001925"
65 changes: 65 additions & 0 deletions sample/report/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html><head>
<title>Performance report</title>
<link type="text/css" media="screen" rel="stylesheet" href="lib/index.css"/>
<script type="text/javascript" src="lib/d3.v3.min.js"></script>
<script type="text/javascript" src="lib/parse.js"></script>
</head><body>
<div>
<h1>Machine information</h1>
<ul>
<li>
cores: 4
</li><li>
hostname: T410
</li><li>
jvm-name: Java HotSpot(TM) 64-Bit Server VM
</li><li>
jvm-vendor: Oracle Corporation
</li><li>
jvm-version: 22.0-b10
</li><li>
os-arch: amd64
</li><li>
os-name: Windows 7
</li>
</ul>
</div>
<div>
<div>Started: Tue Feb 26 21:50:41 CET 2013</div>
<div>Finished: Tue Feb 26 21:51:05 CET 2013</div>
<div>Running time: 23 seconds</div>
</div>
<div class="tree"></div>
<div class="chart"></div>
<h1>Performance test charts</h1>
<div>
<h2>Performance test group: CollectionMethods.map</h2>
<div>Info:
<ul>
<li>Number of runs: 36</li>
<li>Executor: </li>
</ul>
</div><div> <script type="text/javascript">
addGraph('CollectionMethods.map', 'Ranges', '../CollectionMethods.map.Ranges.dsv')
</script><script type="text/javascript">
addGraph('CollectionMethods.map', 'Arrays', '../CollectionMethods.map.Arrays.dsv')
</script><script type="text/javascript">
addGraph('CollectionMethods.map', 'Lists', '../CollectionMethods.map.Lists.dsv')
</script> </div>
</div><div>
<h2>Performance test group: CollectionMethods.sum</h2>
<div>Info:
<ul>
<li>Number of runs: 36</li>
<li>Executor: </li>
</ul>
</div><div> <script type="text/javascript">
addGraph('CollectionMethods.sum', 'Ranges', '../CollectionMethods.sum.Ranges.dsv')
</script><script type="text/javascript">
addGraph('CollectionMethods.sum', 'Arrays', '../CollectionMethods.sum.Arrays.dsv')
</script><script type="text/javascript">
addGraph('CollectionMethods.sum', 'Lists', '../CollectionMethods.sum.Lists.dsv')
</script> </div>
</div>
</body></html>
5 changes: 5 additions & 0 deletions sample/report/lib/d3.v3.min.js

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions sample/report/lib/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

body {
font: 10px sans-serif;
margin: 40px auto;
width: 960px;
min-height: 2000px;
}

.tree,
.chart {
display: inline-block;
vertical-align: top;
margin-top: 30px;
}

.testmethod {
margin-left: 10px;
display: block;
}

.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}

.x.axis path {
display: none;
}

.line {
fill: none;
stroke: steelblue;
stroke-width: 1.5px;
}
Loading

0 comments on commit 25f841b

Please sign in to comment.