Skip to content

Commit 942c6fa

Browse files
committed
Sort benchmarks.yml like sort_benchmarks
Not mandatory obviously, but it's useful when you compare the result table and this YAML file.
1 parent df3c694 commit 942c6fa

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

benchmarks.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ liquid-render:
2525
lobsters:
2626
desc: test a wide variety of routes in the Lobste.rs Rails app
2727
category: headline
28-
shipit:
29-
desc: test a wide variety of routes, both HTML and JSON API in the shipit Rails app
30-
category: headline
3128
mail:
3229
desc: mail tests the Mail gem by repeatedly creating an email from a text file and converting it to a string for sending.
3330
category: headline
@@ -46,12 +43,17 @@ ruby-lsp:
4643
sequel:
4744
desc: sequel repeatedly queries entries in a SQLite table with highly-random names.
4845
category: headline
46+
shipit:
47+
desc: test a wide variety of routes, both HTML and JSON API in the shipit Rails app
48+
category: headline
4949

5050
#
5151
# Other Benchmarks
5252
#
5353
binarytrees:
5454
desc: binarytrees from the Computer Language Benchmarks Game.
55+
blurhash:
56+
desc: blurhash (blurred preview image) calculation
5557
erubi:
5658
desc: erubi compiles a simple Erb template into a method with erubi, then times evaluating that method.
5759
etanni:
@@ -66,10 +68,18 @@ graphql-native:
6668
desc: GraphQL gem parsing a large file, but using a native parser
6769
lee:
6870
desc: lee is a circuit-board layout solver, deployed in a plausibly reality-like way
71+
matmul:
72+
desc: matrix multiplication benchmark
6973
nbody:
7074
desc: nbody from the Computer Language Benchmarks Game.
75+
nqueens:
76+
desc: solver for the N-Queens problem
7177
optcarrot:
7278
desc: optcarrot is a functional headless NES emulator, run on a specific game cartridge for a specific number of frames.
79+
protoboeuf:
80+
desc: protoboeuf (pure-Ruby protobuf) message decoding
81+
protoboeuf-encode:
82+
desc: protoboeuf (pure-Ruby protobuf) message encoding
7383
rack:
7484
desc: test the performance of the Rack framework with barely any routing.
7585
ruby-json:
@@ -78,20 +88,10 @@ rubyboy:
7888
desc: Rubyboy is a functional headless GameBoy emulator, run on a specific game cartridge for a specific number of frames.
7989
rubykon:
8090
desc: Ruby solver for Go (the boardgame.) Runs many iterations forward from an initial starting board.
81-
tinygql:
82-
desc: TinyGQL gem parsing a large file in pure Ruby
83-
nqueens:
84-
desc: solver for the N-Queens problem
8591
sudoku:
8692
desc: sudoku solver
87-
matmul:
88-
desc: matrix multiplication benchmark
89-
blurhash:
90-
desc: blurhash (blurred preview image) calculation
91-
protoboeuf:
92-
desc: protoboeuf (pure-Ruby protobuf) message decoding
93-
protoboeuf-encode:
94-
desc: protoboeuf (pure-Ruby protobuf) message encoding
93+
tinygql:
94+
desc: TinyGQL gem parsing a large file in pure Ruby
9595

9696
#
9797
# MicroBenchmarks
@@ -104,6 +104,10 @@ protoboeuf-encode:
104104
desc: 30k_methods tests thousands of nested method calls that mostly just call out to other single-call methods.
105105
category: micro
106106
single_file: true
107+
attr_accessor:
108+
desc: attr_accessor tests the performance of getting instance variable values via an attr_accessor imemo.
109+
category: micro
110+
single_file: true
107111
cfunc_itself:
108112
desc: cfunc_itself just calls the 'itself' method many, many times.
109113
category: micro
@@ -116,22 +120,26 @@ getivar:
116120
desc: getivar tests the performance of getting instance variable values.
117121
category: micro
118122
single_file: true
119-
attr_accessor:
120-
desc: attr_accessor tests the performance of getting instance variable values via an attr_accessor imemo.
121-
category: micro
122-
single_file: true
123123
keyword_args:
124124
desc: keyword_args tests the performance of method calls with keyword arguments.
125125
category: micro
126126
single_file: true
127-
respond_to:
128-
desc: respond_to tests the performance of the respond_to? method.
127+
loops-times:
128+
desc: nested loop Integer#times and array access microbenchmark
129129
category: micro
130130
single_file: true
131131
object-new:
132132
desc: instantiate a new object in a loop to test allocation performance
133133
category: micro
134134
single_file: true
135+
respond_to:
136+
desc: respond_to tests the performance of the respond_to? method.
137+
category: micro
138+
single_file: true
139+
ruby-xor:
140+
desc: pure-Ruby string XOR microbenchmark, analogous to xorcist C extension.
141+
category: micro
142+
single_file: true
135143
setivar:
136144
desc: setivar tests the performance of setting instance variable values.
137145
category: micro
@@ -152,11 +160,3 @@ throw:
152160
desc: microbenchmark for the throw instruction and stack unwinding.
153161
category: micro
154162
single_file: true
155-
ruby-xor:
156-
desc: pure-Ruby string XOR microbenchmark, analogous to xorcist C extension.
157-
category: micro
158-
single_file: true
159-
loops-times:
160-
desc: nested loop Integer#times and array access microbenchmark
161-
category: micro
162-
single_file: true

0 commit comments

Comments
 (0)