https://github.com/technicalpickles/big-gemfile
Example of a large Gemfile for testing bundler performance
https://github.com/technicalpickles/big-gemfile
Last synced: over 1 year ago
JSON representation
Example of a large Gemfile for testing bundler performance
- Host: GitHub
- URL: https://github.com/technicalpickles/big-gemfile
- Owner: technicalpickles
- Created: 2022-05-16T23:58:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T00:56:15.000Z (about 4 years ago)
- Last Synced: 2025-03-15T00:29:55.901Z (over 1 year ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# big-gemfile
This repository was created for benchmarking bundler's performance on a large Rails app.
Benchmark it with [hyperfine](https://github.com/sharkdp/hyperfine#installation):
```shell
hyperfine "ruby run.rb"
```
Benchmark a specific Bundler version:
```shell
hyperfine "ruby run.rb 2.3.9"
hyperfine "ruby run.rb 2.3.11"
hyperfine "ruby run.rb 2.4.0.dev" # this is the version you get when you `rake install` in a rubygems checkout
```
You can run this same `ruby run.rb` anywhere to test different sets of Gemfiles. The output only includes arch and how many gems, so is pretty safe to share:
```shell
cd path/to/some-app/
ruby path/to/big-gemfile/run.rb
hyperfine "ruby path/to/big-gemfile/run.rb"
```