Skip to content

Commit 8f190df

Browse files
committed
Update website home page
Discuss the SUPER goals. Make code example text larger. Better handle mobile display. Update video to RubyConf 2024 presentation. Update benchmarks to use data presented at RubyConf 2024. Remove comparison to the "other" (non-popular) web frameworks.
1 parent ca50e40 commit 8f190df

File tree

10 files changed

+42
-44
lines changed

10 files changed

+42
-44
lines changed

www/pages/index.erb

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section id="intro" class="row bg-graydark">
2-
<div class="contain row">
3-
<aside class="col 40">
2+
<div id="intro-top" class="contain row">
3+
<aside>
44
<a id="logo" href="/"><img src="images/roda-logo.svg" alt="Roda"></a>
55
<small class='gray'>The Routing Tree Web Toolkit</small>
66
<nav>
@@ -12,13 +12,19 @@
1212
<h2 class='aqua'>Simplicity</h2>
1313
<p>Roda is designed to be simple, both internally and externally, reducing cognitive overhead.</p>
1414

15-
<h2 class='aqua'>Usability</h2>
16-
<p>Roda uses a routing tree. At any point during routing, it allows you to operate on the current request.</p>
15+
<h2 class='aqua'>Understandability</h2>
16+
<p>Roda avoids hidden control flow, allowing you to easily see how requests are handled.</p>
1717

18-
<h2 class='aqua'>Productivity</h2>
19-
<p>Roda makes it easy to develop applications quickly.</p>
18+
<h2 class='aqua'>Performance</h2>
19+
<p>Roda is significantly faster than other popular ruby web frameworks.</p>
20+
21+
<h2 class='aqua'>Extensibility</h2>
22+
<p>Roda is built completely out of plugins.</p>
23+
24+
<h2 class='aqua'>Reliability</h2>
25+
<p>Roda supports and encourages immutability, and limits namespace pollution for instance variables, constants, and methods.</p>
2026
</aside>
21-
<div class="col 60">
27+
<div>
2228
<pre>
2329
<code class="language-ruby">
2430
# cat config.ru
@@ -96,30 +102,24 @@ END
96102

97103
<section id="videos" class="bg-cream">
98104
<div class="contain">
99-
<h2 class="aqua center">Learn Roda. It's Easy!</h2>
105+
<h2 class="aqua center">Stable for 10+ years, and constantly improving!</h2>
100106
<div class="video row">
101107
<div class="col 40">
102108
<iframe src='https://www.youtube.com/embed/W8zglFFFRMM?showinfo=0"' frameborder='0' allow='autoplay;encrypted-media' allowfullscreen></iframe>
103109
</div>
104110
<div class="col 60">
105-
<h3><a href="https://www.youtube.com/watch?v=W8zglFFFRMM" target="_blank">RubyConf 2014 - Roda: The Routing Tree Web Framework by Jeremy Evans</a></h3>
106-
<p>Watch Roda's lead developer guide you through design philosophy and basic functions. Get up and running in no time!</p>
111+
<h3><a href="https://www.youtube.com/watch?v=GrYlZjbXeP8" target="_blank">RubyConf 2024 - 10 Years of Roda</a></h3>
112+
<p>Watch Roda's lead developer discuss the history of Roda, and the improvements made in Roda's first 10 years.</p>
107113
</div>
108114
</div>
109115
</div>
110116
</section>
111117

112-
<section id="ecosystem" class="bg-green white center">
113-
<strong>
114-
<svg class="like" viewBox="0 0 39.87 37.41"><path d="M12.38,19.53s1.37.25,2.74-3.25,4-7,4-10.52-.2-4.6,1.8-5,4.79,2.75,4.79,5.88a31.57,31.57,0,0,1-1.5,7.7H35.63c3.75,0,4.77,4.11,1.49,5.59,3.28,1.77,2.19,5.43-.87,5.79,3,1.79,1.55,5.63-.83,5.59a2.7,2.7,0,0,1-1.67,5H19.44c-2.13,0-5.32-.29-6.82-2"/><rect x="0.75" y="17.41" width="11.88" height="19.25" rx="1" ry="1"/></svg>
115-
Roda is the fastest Ruby web framework,<br>
116-
as measured by the <a href="https://github.com/jeremyevans/r10k">r10k benchmark</a>.
117-
</strong>
118-
</section>
119-
120118
<section id="performance" class="bg-aqua">
121119
<h2 class="white center">Comparison to Popular Ruby Web Frameworks</h2>
122120

121+
<p class="benchmark-data benchmark-info white center">Compared to other popular Ruby web frameworks, Roda has the highest performance (note log10 scale in request per second graph) and uses the least memory.</p>
122+
123123
<div class="benchmark-images">
124124
<img src="images/popular/rps.png">
125125
<img src="images/popular/memory.png">
@@ -129,18 +129,6 @@ END
129129
<a class="white" href="data/popular/rps.txt">Requests/Second</a> |
130130
<a class="white" href="data/popular/memory.txt">Initial Memory Usage</a>
131131
</p>
132-
133-
<h2 class="white center">Comparison to Other Ruby Web Frameworks</h2>
134-
135-
<div class="benchmark-images">
136-
<img src="images/other/rps.png">
137-
<img src="images/other/memory.png">
138-
</div>
139-
140-
<p class="benchmark-data white center">Data:
141-
<a class="white" href="data/other/rps.txt">Requests/Second</a> |
142-
<a class="white" href="data/other/memory.txt">Initial Memory Usage</a>
143-
</p>
144132
</section>
145133

146134
<section id="compare" class="bg-gray white">

www/public/css/roda.css

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/public/data/other/memory.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

www/public/data/other/rps.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

www/public/data/popular/memory.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app,10,100,1000,10000
2+
roda,15804,15984,19120,52480
3+
rails,56592,56968,68492,218664
4+
sinatra,28104,30648,42912,144420
5+
hanami,17780,19344,27796,125640

www/public/data/popular/rps.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app,10,100,1000,10000
2+
roda,122027.68715373332,86288.32904777762,65592.25855302342,48549.61274945825
3+
rails,2556.892018813879,2366.9204968394015,2157.915496067917,1994.9102168021407
4+
sinatra,8484.607014811645,4172.018468692109,718.5694845099421,62.90742966597215
5+
hanami,13735.02321225245,12353.031271976473,11008.820045679831,7726.833878773071

www/public/images/other/memory.png

-161 KB
Binary file not shown.

www/public/images/other/rps.png

-174 KB
Binary file not shown.
88.3 KB
Loading

www/public/images/popular/rps.png

84.9 KB
Loading

0 commit comments

Comments
 (0)