Skip to content

Commit 9654e74

Browse files
committed
Updated Load Tests, Lines of Code and Statistical Analysis
1 parent 4379505 commit 9654e74

16 files changed

+44
-11
lines changed
3.99 KB
Loading
3.6 KB
Loading
783 Bytes
Loading
8.68 KB
Loading
15.4 KB
Loading
905 Bytes
Loading

preso/assets/images/cloc-grails.png

32.4 KB
Loading

preso/assets/images/cloc-play.png

31.2 KB
Loading
4.02 KB
Loading
3.85 KB
Loading
1.12 KB
Loading
6.12 KB
Loading
10.3 KB
Loading
12.2 KB
Loading

preso/css/smackdown.css

+30
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,36 @@ pre code {
7979
line-height: 2.1;
8080
}
8181

82+
.reveal .legend {
83+
background: white;
84+
font-size: .4em;
85+
color: black;
86+
width: 200px;
87+
position: absolute;
88+
top: 175px;
89+
right: 80px;
90+
}
91+
92+
.legend .box {
93+
width: 10px;
94+
height: 10px;
95+
display: inline-block;
96+
vertical-align: middle;
97+
margin-right: 5px;
98+
}
99+
100+
.legend .box:last-child {
101+
margin-left: 20px;
102+
}
103+
104+
.legend .blue {
105+
background: blue;
106+
}
107+
108+
.legend .red {
109+
background: red;
110+
}
111+
82112
.footer header {
83113
border-bottom: 1px solid silver;
84114
font-size: 24px;

preso/index.html

+14-11
Original file line numberDiff line numberDiff line change
@@ -911,12 +911,12 @@ <h2>Load Testing - 1 Dyno</h2>
911911

912912
<div style="width: 600px; margin: 0 auto">
913913
<div style="float: left">
914-
<img src="assets/images/bike-test-stats.png" height="254" width="258"/>
914+
<img src="assets/images/bike-test-stats.png" height="253" width="257"/>
915915

916916
<p>Bike (Grails)</p>
917917
</div>
918918
<div style="float: right">
919-
<img src="assets/images/hike-test-stats.png" height="255" width="260"/>
919+
<img src="assets/images/hike-test-stats.png" height="253" width="257"/>
920920

921921
<p>Hike (Play)</p>
922922
</div>
@@ -937,12 +937,12 @@ <h2>Load Testing - 5 Dynos</h2>
937937

938938
<div style="width: 600px; margin: 0 auto">
939939
<div style="float: left">
940-
<img src="assets/images/bike-test-stats-5dynos.png" height="250" width="245"/>
940+
<img src="assets/images/bike-test-stats-5dynos.png" height="253" width="248"/>
941941

942942
<p>Bike (Grails)</p>
943943
</div>
944944
<div style="float: right">
945-
<img src="assets/images/hike-test-stats-5dynos.png" height="250" width="247"/>
945+
<img src="assets/images/hike-test-stats-5dynos.png" height="253" width="248"/>
946946

947947
<p>Hike (Play)</p>
948948
</div>
@@ -967,7 +967,7 @@ <h2>Load Testing - 5 Dynos</h2>
967967

968968
var data = google.visualization.arrayToDataTable([
969969
['10000 Requests (100 Concurrent)', 'Grails', 'Play Framework'],
970-
['Requests / Second', 198, 251]
970+
['Requests / Second', 118, 233]
971971
]);
972972

973973
var chart = new google.visualization.BarChart(document.getElementById('load_chart_div'));
@@ -1054,6 +1054,11 @@ <h2>LinkedIn Skills</h2>
10541054
<section>
10551055
<h2>Google Trends</h2>
10561056
<img src="assets/images/google-trends.png">
1057+
<div class="legend">
1058+
<span class="box blue"></span> Grails
1059+
<span class="box red"></span> Play
1060+
</div>
1061+
<!--script type="text/javascript" src="//www.google.com/trends/embed.js?hl=en-US&q=Grails,+%22Play+Framework%22&content=1&cid=TIMESERIES_GRAPH_AVERAGES_CHART&export=5&w=500&h=300"></script-->
10571062
</section>
10581063
<section>
10591064
<h2>Indeed Job Trends</h2>
@@ -1187,18 +1192,16 @@ <h2>Conclusions: Code</h2>
11871192
<h2>Conclusions: Statistical Analysis</h2>
11881193
<ul>
11891194
<li>Grails has better support for FEO (YSlow, PageSpeed)</li>
1190-
<li>Grails has less LOC! (6 lines less, but 40% more files)</li>
1191-
<li>1 Dyno - Grails had 2x transactions!
1192-
<ul><li>Grails experienced OOM about halfway through.</li></ul>
1193-
</li>
1195+
<li>Grails has less LOC! (4 more files, but 20% less code)</li>
1196+
<li>1 Dyno - Grails had 30% more transactions!</li>
11941197
<li>Apache Benchmark with 10K requests:
11951198
<ul>
1196-
<li>Requests per second: {Play: 251, Grails: 198}</li>
1199+
<li>Requests per second: {Play: 233, Grails: 118}</li>
11971200
</ul>
11981201
</li>
11991202
<li>Load Test with 100 Real Users:
12001203
<ul>
1201-
<li>Grails: 10% more transactions, 0 errors</li>
1204+
<li>Grails: 25% more transactions, but 1 error (Play: 0)</li>
12021205
</ul>
12031206
</li>
12041207
</ul>

0 commit comments

Comments
 (0)