Skip to content

Commit df3c694

Browse files
authored
Update yjit-bench references to ruby-bench (#405)
1 parent 901adb6 commit df3c694

File tree

7 files changed

+15
-16
lines changed

7 files changed

+15
-16
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- ruby: head
1818
- ruby: truffleruby
1919
skip: protoboeuf-encode ruby-lsp shipit
20-
if: ${{ github.event_name != 'schedule' || github.repository == 'ruby/yjit-bench' }}
20+
if: ${{ github.event_name != 'schedule' || github.repository == 'ruby/ruby-bench' }}
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set up Ruby

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
We'd love your contributions! Folks have contributed new benchmarks, new test harnesses
2-
and more. I'm sure there's more you'd like to see in yjit-bench.
2+
and more. I'm sure there's more you'd like to see in ruby-bench.
33

44
If you have questions or problems getting set up, you're probably not the only
5-
one with difficulties. You can [file an issue](https://github.com/ruby/yjit-bench/issues)
5+
one with difficulties. You can [file an issue](https://github.com/ruby/ruby-bench/issues)
66
and we'll answer as soon as we can.
77

8-
We welcome [GitHub Pull Requests](https://github.com/ruby/yjit-bench/pulls) in
8+
We welcome [GitHub Pull Requests](https://github.com/ruby/ruby-bench/pulls) in
99
the usual way, though you'll need to sign a Shopify
1010
Contributor License Agreement - when you file the PR a bot should direct you through
1111
the process.
1212

1313
If you're looking for something to do, the
14-
[issue tracker](https://github.com/ruby/yjit-bench/issues)
14+
[issue tracker](https://github.com/ruby/ruby-bench/issues)
1515
can also be helpful.
1616

1717
Right now documentation is mostly in the benchmark files and in the README.

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
yjit-bench
1+
ruby-bench
22
==========
33

4-
Small set of benchmarks and scripts for the YJIT Ruby JIT compiler project, which lives in
5-
the [Shopify/yjit](https://github.com/Shopify/yjit) repository.
4+
Small set of benchmarks and scripts for the Ruby programming language.
65

76
The benchmarks are found in the `benchmarks` directory. Individual Ruby files
87
in `benchmarks` are microbenchmarks. Subdirectories under `benchmarks` are
@@ -20,12 +19,12 @@ graphed in any spreadsheet editor.
2019

2120
Clone this repository:
2221
```
23-
git clone https://github.com/ruby/yjit-bench.git yjit-bench
22+
git clone https://github.com/ruby/ruby-bench
2423
```
2524

2625
### Benchmarking YJIT
2726

28-
yjit-bench supports benchmarking any Ruby implementation. But if you want to benchmark YJIT,
27+
ruby-bench supports benchmarking any Ruby implementation. But if you want to benchmark YJIT,
2928
follow [these instructions](https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md#building-yjit)
3029
to build and install YJIT.
3130

@@ -40,7 +39,7 @@ chruby ruby-yjit
4039

4140
To run all the benchmarks and record the data:
4241
```
43-
cd yjit-bench
42+
cd ruby-bench
4443
./run_benchmarks.rb
4544
```
4645

@@ -104,7 +103,7 @@ ruby benchmarks/some_benchmark.rb
104103

105104
## Ruby options
106105

107-
By default, yjit-bench benchmarks the Ruby used for `run_benchmarks.rb`.
106+
By default, ruby-bench benchmarks the Ruby used for `run_benchmarks.rb`.
108107
If the Ruby has `--yjit` option, it compares two Ruby commands, `-e "interp::ruby"` and `-e "yjit::ruby --yjit`.
109108
However, if you specify `-e` yourself, you can override what Ruby is benchmarked.
110109

benchmarks/erubi-rails/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
# Skip DNS rebinding protection for the default health check endpoint.
9191
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
9292

93-
# yjit-bench configurations
93+
# ruby-bench configurations
9494
# If we want to benchmark with YJIT then it has already been enabled by command line arguments.
9595
# If we are benchmarking CRuby without YJIT don't enable it even if this build has it.
9696
config.yjit = false

benchmarks/etanni/benchmark.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Dir.chdir __dir__
33

44
# This is an Etanni translation of the Erb template in the Erubi
5-
# yjit-bench benchmark.
5+
# ruby-bench benchmark.
66
TEMPLATE_FILE = "simple_template.etanni"
77

88
require "json"

benchmarks/lobsters/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
# Skip DNS rebinding protection for the default health check endpoint.
8888
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
8989

90-
# yjit-bench configurations
90+
# ruby-bench configurations
9191
config.log_level = :error
9292
config.secret_key_base = 'in general secret should not be in the git repo but this is a benchmark'
9393
# If we want to benchmark with YJIT then it has already been enabled by command line arguments.

benchmarks/railsbench/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
# Skip DNS rebinding protection for the default health check endpoint.
9191
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
9292

93-
# yjit-bench configurations
93+
# ruby-bench configurations
9494
config.log_level = :error
9595
config.secret_key_base = 'in general secret should not be in the git repo but this is a benchmark'
9696
# If we want to benchmark with YJIT then it has already been enabled by command line arguments.

0 commit comments

Comments
 (0)