An open API service indexing awesome lists of open source software.

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

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"
```