Skip to content

Commit 589fc94

Browse files
authored
Move the Ractor section above ruby/ruby on the top page (#20)
Keep the two ruby-bench sections together instead of sandwiching ruby/ruby between them.
1 parent 28ad3ae commit 589fc94

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

‎source/index.html.haml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@
2323
- benchmarks.each do |benchmark|
2424
= link_to benchmark, "/benchmarks/ruby-bench.html##{benchmark}"
2525

26-
%h2.text-center ruby/ruby
27-
%h4.text-center Ruby core benchmarks
28-
29-
%table.large-margin.benchmarks-table.table.table-striped
30-
%thead
31-
%tr
32-
%th Category
33-
%th Benchmarks
34-
%tbody
35-
- ruby_core_benchmarks.each do |category, benchmarks|
36-
%tr
37-
%td= category
38-
%td.margined-links
39-
- benchmarks.each do |benchmark|
40-
= link_to benchmark.split('_', 2).last.gsub(/_/, ' '), "/benchmarks/ruby.html##{benchmark}"
41-
4226
%h2.text-center ruby-bench (Ractor)
4327
%h4.text-center Parallel execution benchmarks
4428

@@ -56,3 +40,19 @@
5640
%td.margined-links
5741
- all_ractor_benchmarks.each do |benchmark, meta|
5842
= link_to benchmark, "/benchmarks/ractor.html##{benchmark.gsub('/', '_')}"
43+
44+
%h2.text-center ruby/ruby
45+
%h4.text-center Ruby core benchmarks
46+
47+
%table.large-margin.benchmarks-table.table.table-striped
48+
%thead
49+
%tr
50+
%th Category
51+
%th Benchmarks
52+
%tbody
53+
- ruby_core_benchmarks.each do |category, benchmarks|
54+
%tr
55+
%td= category
56+
%td.margined-links
57+
- benchmarks.each do |benchmark|
58+
= link_to benchmark.split('_', 2).last.gsub(/_/, ' '), "/benchmarks/ruby.html##{benchmark}"

0 commit comments

Comments
 (0)