require_bench 1.0.4.pre.alpha.7 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +203 -0
- data/LICENSE.md +11 -0
- data/README.md +492 -102
- data/lib/require_bench/color_printer.rb +13 -10
- data/lib/require_bench/colors.rb +40 -0
- data/lib/require_bench/printer.rb +6 -4
- data/lib/require_bench/tasks.rb +5 -5
- data/lib/require_bench/version.rb +7 -1
- data/lib/require_bench.rb +77 -43
- data/sig/require_bench.rbs +6 -0
- data.tar.gz.sig +3 -0
- metadata +174 -58
- metadata.gz.sig +0 -0
- data/CODE_OF_CONDUCT.md +0 -74
- data/LICENSE +0 -7
data/README.md
CHANGED
|
@@ -1,52 +1,120 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by GitHub" src="https://github.com/galtzo-floss.png?size=192" width="14%" align="right"/></a>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# ⏱️ RequireBench
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
---
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
15
|
-
| gem name | [require_bench](https://rubygems.org/gems/require_bench) |
|
|
16
|
-
| license | [](https://opensource.org/licenses/MIT) |
|
|
17
|
-
| download rank | [](https://github.com/pboling/require_bench) |
|
|
18
|
-
| version | [](https://rubygems.org/gems/require_bench) |
|
|
19
|
-
| dependencies | [](https://depfu.com/github/pboling/require_bench?project_id=5824) |
|
|
20
|
-
| continuous integration | [](https://travis-ci.org/pboling/require_bench) |
|
|
21
|
-
| test coverage | [](https://codeclimate.com/github/pboling/require_bench/test_coverage) |
|
|
22
|
-
| maintainability | [](https://codeclimate.com/github/pboling/require_bench/maintainability) |
|
|
23
|
-
| code triage | [](https://www.codetriage.com/pboling/require_bench) |
|
|
24
|
-
| homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
|
|
25
|
-
| documentation | [on RDoc.info][documentation] |
|
|
26
|
-
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌏](https://about.me/peter.boling), [👼](https://angel.co/peter-boling), [:shipit:](https://coderwall.com/Peter%20Boling), [](https://twitter.com/galtzo) |
|
|
13
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
27
14
|
|
|
28
|
-
|
|
15
|
+
<details markdown="1">
|
|
16
|
+
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
29
17
|
|
|
30
|
-
|
|
18
|
+
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
31
19
|
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
</details>
|
|
21
|
+
|
|
22
|
+
## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
|
|
23
|
+
|
|
24
|
+
## 💡 Info you can shake a stick at
|
|
25
|
+
|
|
26
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
27
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
28
|
+
| Works with JRuby | [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
29
|
+
| Works with Truffle Ruby | [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
30
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
31
|
+
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
32
|
+
| Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
|
|
33
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
34
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
35
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
36
|
+
| Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
37
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
38
|
+
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
39
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
40
|
+
|
|
41
|
+
### Compatibility
|
|
42
|
+
|
|
43
|
+
The gem's declared runtime compatibility floor is MRI Ruby 2.2.0+, with concordant releases of JRuby and TruffleRuby.
|
|
44
|
+
CI workflows and Appraisals are generated for MRI Ruby 2.4+.
|
|
45
|
+
The current MRI CI lane runs on Linux and macOS.
|
|
46
|
+
The test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml`.
|
|
47
|
+
When it is higher than the runtime floor, older runtime-compatible Rubies are
|
|
48
|
+
not covered by the generated CI or Appraisal matrix.
|
|
49
|
+
|
|
50
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
51
|
+
|
|
52
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
53
|
+
|
|
54
|
+
<details markdown="1">
|
|
55
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
56
|
+
|
|
57
|
+
| Gem | Source | Role | Total downloads |
|
|
58
|
+
|-----|--------|------|---------------------|
|
|
59
|
+
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
60
|
+
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
61
|
+
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
62
|
+
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
63
|
+
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
64
|
+
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
65
|
+
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
66
|
+
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
### Federated DVCS
|
|
71
|
+
|
|
72
|
+
<details markdown="1">
|
|
73
|
+
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
74
|
+
|
|
75
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
76
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
77
|
+
| 🧪 [galtzo-floss/require_bench on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
78
|
+
| 🧊 [galtzo-floss/require_bench on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
79
|
+
| 🐙 [galtzo-floss/require_bench on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
80
|
+
|
|
81
|
+
</details>
|
|
82
|
+
|
|
83
|
+
### Enterprise Support
|
|
84
|
+
|
|
85
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
86
|
+
|
|
87
|
+
Other support channels:
|
|
88
|
+
|
|
89
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
90
|
+
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
91
|
+
|
|
92
|
+
## ✨ Installation
|
|
93
|
+
|
|
94
|
+
Install the gem and add to the application's Gemfile by executing:
|
|
95
|
+
|
|
96
|
+
```console
|
|
97
|
+
bundle add require_bench
|
|
34
98
|
```
|
|
35
99
|
|
|
36
|
-
|
|
100
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
37
101
|
|
|
38
|
-
|
|
102
|
+
```console
|
|
103
|
+
gem install require_bench
|
|
104
|
+
```
|
|
39
105
|
|
|
40
|
-
|
|
106
|
+
## ⚙️ Configuration
|
|
41
107
|
|
|
42
|
-
|
|
108
|
+
RequireBench is disabled unless `REQUIRE_BENCH` is exactly `"true"`. When
|
|
109
|
+
enabled, require `require_bench/tasks` near the top of the Rakefile and use its
|
|
110
|
+
task options to select ignored libraries and output behavior.
|
|
43
111
|
|
|
44
|
-
## Usage
|
|
112
|
+
## 🔧 Basic Usage
|
|
45
113
|
|
|
46
114
|
Require the library where it will be loaded prior to any other requires you want to benchmark.
|
|
47
115
|
|
|
48
116
|
```ruby
|
|
49
|
-
require
|
|
117
|
+
require "require_bench"
|
|
50
118
|
```
|
|
51
119
|
|
|
52
120
|
By default this gem does **nothing**, hacks **nothing**, and has **zero** effects.
|
|
@@ -56,7 +124,7 @@ By default this gem does **nothing**, hacks **nothing**, and has **zero** effect
|
|
|
56
124
|
Add an environment variable, however you normally do such things, so that in Ruby:
|
|
57
125
|
|
|
58
126
|
```ruby
|
|
59
|
-
ENV[
|
|
127
|
+
ENV["REQUIRE_BENCH"] == "true"
|
|
60
128
|
```
|
|
61
129
|
|
|
62
130
|
Any value other than `'true'` means RequireBench is still turned off.
|
|
@@ -68,8 +136,8 @@ Any value other than `'true'` means RequireBench is still turned off.
|
|
|
68
136
|
Require in Rakefile:
|
|
69
137
|
|
|
70
138
|
```ruby
|
|
71
|
-
|
|
72
|
-
|
|
139
|
+
require "bundler/setup"
|
|
140
|
+
require "require_bench/tasks" # Near the top, just below require 'bundler/setup'!
|
|
73
141
|
```
|
|
74
142
|
|
|
75
143
|
#### For Rails
|
|
@@ -77,50 +145,30 @@ Require in Rakefile:
|
|
|
77
145
|
Require in Rakefile:
|
|
78
146
|
|
|
79
147
|
```ruby
|
|
80
|
-
|
|
81
|
-
|
|
148
|
+
require_relative "config/application"
|
|
149
|
+
require "require_bench/tasks" if ENV["REQUIRE_BENCH"] == "true" # Near the top, just below require_relative 'config/application'!
|
|
82
150
|
```
|
|
83
151
|
|
|
84
|
-
####
|
|
152
|
+
#### Example
|
|
85
153
|
|
|
86
|
-
When running from command line, you will see output as the Rails app boots.
|
|
154
|
+
When running from command line, you will see output as the Rails app boots. In the case below it ignores all gem libraries, and only tracks Rails.
|
|
155
|
+
The output at the top shows the config being used.
|
|
87
156
|
```bash
|
|
88
157
|
$ REQUIRE_BENCH=true bundle exec rake require_bench:hello
|
|
89
|
-
[RequireBench]
|
|
90
|
-
[RequireBench]
|
|
91
|
-
[RequireBench]
|
|
92
|
-
[RequireBench] 0.
|
|
93
|
-
[RequireBench] 0.
|
|
94
|
-
[RequireBench] 0.
|
|
95
|
-
[RequireBench] 0.
|
|
96
|
-
[RequireBench] 0.
|
|
97
|
-
[RequireBench] 0.
|
|
98
|
-
[RequireBench] 0.003107 rspec/core/rake_task
|
|
99
|
-
[RequireBench] 0.000017 csv
|
|
100
|
-
[RequireBench] 0.000012 resque/tasks
|
|
101
|
-
[RequireBench] 0.000007 resque/scheduler/tasks
|
|
102
|
-
[RequireBench] 0.064950 rails/tasks
|
|
103
|
-
[RequireBench] 0.003305 rake/testtask
|
|
104
|
-
[RequireBench] 0.001886 rubocop/rake_task
|
|
105
|
-
[RequireBench] 0.000012 hubspot-ruby
|
|
106
|
-
[RequireBench] 2.291259 /path/to/my_app/config/environment.rb
|
|
158
|
+
[RequireBench] Using skip pattern: (?-mix:gems)
|
|
159
|
+
[RequireBench] Using include pattern: (?-mix:my_app)
|
|
160
|
+
[RequireBench] Using no group pattern: (?-mix:ext|config)
|
|
161
|
+
🚥 [RequireBench-r] ☑️ 0.005564 /Volumes/🐉🩸/src/apps/my_app/lib/middleware/omniauth_bypass.rb 🚥
|
|
162
|
+
🚥 [RequireBench-r] ☑️ 0.001099 /Volumes/🐉🩸/src/apps/my_app/lib/middleware/sidekiq/match_deployment_rules.rb 🚥
|
|
163
|
+
🚥 [RequireBench-r] ☑️ 0.001121 /Volumes/🐉🩸/src/apps/my_app/lib/middleware/sidekiq/request_store.rb 🚥
|
|
164
|
+
🚥 [RequireBench-r] ☑️ 0.000989 /Volumes/🐉🩸/src/apps/my_app/lib/middleware/sidekiq/clear_active_record_connections.rb 🚥
|
|
165
|
+
🚥 [RequireBench-r] ☑️ 0.006890 /Volumes/🐉🩸/src/apps/my_app/lib/middleware/sidekiq/worker_killer.rb 🚥
|
|
166
|
+
🚥 [RequireBench-r] ☑️ 0.001990 /Volumes/🐉🩸/src/apps/my_app/lib/parsers/pku_parser.rb 🚥
|
|
107
167
|
|
|
108
168
|
[RequireBench] Slowest Loads by Library, in order
|
|
109
|
-
1.
|
|
110
|
-
2. 2.153282 /path/to/my_app/config/environment.rb
|
|
111
|
-
3. 0.061008 rails
|
|
112
|
-
4. 0.010827 sprockets
|
|
113
|
-
5. 0.003179 rspec
|
|
114
|
-
6. 0.003144 rake
|
|
115
|
-
7. 0.003127 resque
|
|
116
|
-
8. 0.001543 rubocop
|
|
117
|
-
9. 0.000021 dynamoid
|
|
118
|
-
10. 0.000016 csv
|
|
119
|
-
11. 0.000016 active_record
|
|
120
|
-
12. 0.000010 raven
|
|
121
|
-
13. 0.000005 hubspot-ruby
|
|
169
|
+
1. 0.017653 my_app
|
|
122
170
|
==========
|
|
123
|
-
|
|
171
|
+
0.017653 TOTAL
|
|
124
172
|
```
|
|
125
173
|
|
|
126
174
|
### Output Options
|
|
@@ -136,9 +184,9 @@ export REQUIRE_BENCH_SKIP_PATTERN=activesupport,rspec
|
|
|
136
184
|
* a string, to be split by pipe (`|`), then joined by pipe (`|`) with `Regexp.union`
|
|
137
185
|
|
|
138
186
|
```ruby
|
|
139
|
-
ENV[
|
|
187
|
+
ENV["REQUIRE_BENCH_SKIP_PATTERN"] = "activesupport,rspec"
|
|
140
188
|
# or
|
|
141
|
-
ENV[
|
|
189
|
+
ENV["REQUIRE_BENCH_SKIP_PATTERN"] = "activesupport|rspec"
|
|
142
190
|
```
|
|
143
191
|
|
|
144
192
|
Any file being required that matches the pattern will use the standard, rather than the benchmarked, require.
|
|
@@ -147,49 +195,391 @@ Any file being required that matches the pattern will use the standard, rather t
|
|
|
147
195
|
|
|
148
196
|
Fully qualified paths, or any portion thereof, are fine, because the strings are always Regexp escaped.
|
|
149
197
|
|
|
150
|
-
|
|
198
|
+
### Other ENV control variables
|
|
151
199
|
|
|
152
|
-
|
|
200
|
+
- wrap/log load in addition to require
|
|
201
|
+
- `ENV['REQUIRE_BENCH_TRACKED_METHODS']`
|
|
202
|
+
- rescue errors
|
|
203
|
+
- `ENV['REQUIRE_BENCH_RESCUED_CLASSES']`
|
|
204
|
+
- log start
|
|
205
|
+
- `ENV['REQUIRE_BENCH_LOG_START']`
|
|
206
|
+
- load/require timeout
|
|
207
|
+
- `ENV['REQUIRE_BENCH_TIMEOUT']`
|
|
208
|
+
- A pattern for paths that should be included/tracked
|
|
209
|
+
- `ENV['REQUIRE_BENCH_INCLUDE_PATTERN']`
|
|
210
|
+
- Should grouping be by basename or by path?
|
|
211
|
+
- `ENV['REQUIRE_BENCH_GROUP_PRECEDENCE']`
|
|
212
|
+
- Prefer to not group some pattern (i.e. some libraries)
|
|
213
|
+
- `ENV['REQUIRE_BENCH_NO_GROUP_PATTERN']`
|
|
153
214
|
|
|
154
|
-
|
|
215
|
+
If you'd like to help document any of these further, PRs are appreciated!
|
|
155
216
|
|
|
156
|
-
##
|
|
217
|
+
## 🦷 FLOSS Funding
|
|
157
218
|
|
|
158
|
-
|
|
219
|
+
While galtzo-floss tools are free software and will always be, the project would benefit immensely from some funding.
|
|
220
|
+
Raising a monthly budget of... "dollars" would make the project more sustainable.
|
|
159
221
|
|
|
160
|
-
|
|
222
|
+
We welcome both individual and corporate sponsors! We also offer a
|
|
223
|
+
wide array of funding channels to account for your preferences.
|
|
224
|
+
Currently, [Open Collective][🖇osc] is our preferred funding platform.
|
|
161
225
|
|
|
162
|
-
|
|
226
|
+
### Corporate Sponsorship
|
|
163
227
|
|
|
164
|
-
|
|
228
|
+
**If you're working in a company that's making significant use of galtzo-floss tools we'd
|
|
229
|
+
appreciate it if you suggest to your company to become a galtzo-floss sponsor.**
|
|
165
230
|
|
|
166
|
-
|
|
167
|
-
Violations of this scheme should be reported as bugs. Specifically,
|
|
168
|
-
if a minor or patch version is released that breaks backward
|
|
169
|
-
compatibility, a new version should be immediately released that
|
|
170
|
-
restores compatibility. Breaking changes to the public API will
|
|
171
|
-
only be introduced with new major versions.
|
|
231
|
+
### Individual Support
|
|
172
232
|
|
|
173
|
-
|
|
174
|
-
|
|
233
|
+
You can support the development of galtzo-floss tools via
|
|
234
|
+
[GitHub Sponsors][🖇sponsor],
|
|
235
|
+
[Liberapay][⛳liberapay],
|
|
236
|
+
[Open Collective][🖇osc],
|
|
237
|
+
and [PayPal][🖇paypal].
|
|
175
238
|
|
|
176
|
-
|
|
239
|
+
### Open Collective for Individuals
|
|
177
240
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
241
|
+
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/galtzo-floss#backer)]
|
|
242
|
+
|
|
243
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
244
|
+
|
|
245
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:START -->
|
|
246
|
+
No backers yet. Be the first!
|
|
247
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:END -->
|
|
248
|
+
|
|
249
|
+
### Open Collective for Organizations
|
|
250
|
+
|
|
251
|
+
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/galtzo-floss#sponsor)]
|
|
252
|
+
|
|
253
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
254
|
+
|
|
255
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
|
|
256
|
+
No sponsors yet. Be the first!
|
|
257
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
181
258
|
|
|
182
|
-
|
|
259
|
+
[kettle-readme-backers]: https://github.com/galtzo-floss/require_bench/blob/main/bin/kettle-readme-backers
|
|
183
260
|
|
|
184
|
-
|
|
261
|
+
### Another way to support open-source
|
|
185
262
|
|
|
186
|
-
|
|
263
|
+
I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈 cats).
|
|
264
|
+
|
|
265
|
+
If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
|
|
266
|
+
|
|
267
|
+
I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
|
|
268
|
+
|
|
269
|
+
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
270
|
+
|
|
271
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
272
|
+
|
|
273
|
+
## 🔐 Security
|
|
274
|
+
|
|
275
|
+
See [SECURITY.md][🔐security].
|
|
276
|
+
|
|
277
|
+
## 🤝 Contributing
|
|
278
|
+
|
|
279
|
+
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
280
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
281
|
+
|
|
282
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
283
|
+
|
|
284
|
+
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
285
|
+
|
|
286
|
+
### 🚀 Release Instructions
|
|
287
|
+
|
|
288
|
+
See [CONTRIBUTING.md][🤝contributing].
|
|
289
|
+
|
|
290
|
+
### Code Coverage
|
|
291
|
+
|
|
292
|
+
<details markdown="1">
|
|
293
|
+
<summary>Coverage service badges</summary>
|
|
294
|
+
|
|
295
|
+
[![Coverage Graph][🏀codecov-g]][🏀codecov]
|
|
296
|
+
|
|
297
|
+
[![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
|
|
298
|
+
|
|
299
|
+
[![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
|
|
300
|
+
|
|
301
|
+
</details>
|
|
302
|
+
|
|
303
|
+
### 🪇 Code of Conduct
|
|
304
|
+
|
|
305
|
+
Everyone interacting with this project's codebases, issue trackers,
|
|
306
|
+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
|
|
307
|
+
|
|
308
|
+
## 🌈 Contributors
|
|
309
|
+
|
|
310
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
|
311
|
+
|
|
312
|
+
Made with [contributors-img][🖐contrib-rocks].
|
|
313
|
+
|
|
314
|
+
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/require_bench/-/graphs/main][🚎contributors-gl]
|
|
315
|
+
|
|
316
|
+
## 📌 Versioning
|
|
317
|
+
|
|
318
|
+
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
319
|
+
For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
|
320
|
+
|
|
321
|
+
For example:
|
|
322
|
+
|
|
323
|
+
```ruby
|
|
324
|
+
spec.add_dependency("require_bench", "~> 1.0")
|
|
325
|
+
```
|
|
187
326
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
327
|
+
<details markdown="1">
|
|
328
|
+
<summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
|
|
329
|
+
|
|
330
|
+
Dropping support for a platform can be a breaking change for affected users.
|
|
331
|
+
If a release changes supported platforms, it should be called out clearly in the changelog and versioned with that impact in mind.
|
|
332
|
+
|
|
333
|
+
To get a better understanding of how SemVer is intended to work over a project's lifetime,
|
|
334
|
+
read this article from the creator of SemVer:
|
|
335
|
+
|
|
336
|
+
- ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
|
|
337
|
+
|
|
338
|
+
</details>
|
|
339
|
+
|
|
340
|
+
See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
341
|
+
|
|
342
|
+
## 📄 License
|
|
343
|
+
|
|
344
|
+
The gem is available as open source under the terms of
|
|
345
|
+
the [MIT](https://github.com/galtzo-floss/require_bench/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
346
|
+
|
|
347
|
+
### © Copyright
|
|
348
|
+
|
|
349
|
+
See [LICENSE.md][📄license] for the official copyright notice.
|
|
350
|
+
|
|
351
|
+
<details markdown="1">
|
|
352
|
+
<summary>Copyright holders</summary>
|
|
353
|
+
|
|
354
|
+
- Copyright (c) 2018-2020, 2023, 2026 Peter H. Boling
|
|
355
|
+
- Copyright (c) 2025 Annibelle Boling
|
|
356
|
+
|
|
357
|
+
</details>
|
|
358
|
+
|
|
359
|
+
## 🤑 A request for help
|
|
360
|
+
|
|
361
|
+
Maintainers have teeth and need to pay their dentists.
|
|
362
|
+
After getting laid off in an RIF in March, and encountering difficulty finding a new one,
|
|
363
|
+
I began spending most of my time building open source tools.
|
|
364
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
365
|
+
so if you value the work I am doing, I need your support.
|
|
366
|
+
Please consider sponsoring me or the project.
|
|
367
|
+
|
|
368
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
369
|
+
|
|
370
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
371
|
+
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
372
|
+
|
|
373
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
374
|
+
|
|
375
|
+
[![Sponsor galtzo-floss/require_bench on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
|
|
376
|
+
|
|
377
|
+
### Please give the project a star ⭐ ♥.
|
|
378
|
+
|
|
379
|
+
Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
|
|
380
|
+
|
|
381
|
+
Thanks for RTFM. ☺️
|
|
382
|
+
|
|
383
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
384
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
|
385
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
386
|
+
[🖇osc-all-img]: https://img.shields.io/opencollective/all/galtzo-floss
|
|
387
|
+
[🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss
|
|
388
|
+
[🖇osc-backers-img]: https://img.shields.io/opencollective/backers/galtzo-floss
|
|
389
|
+
[🖇osc-backers]: https://opencollective.com/galtzo-floss#backer
|
|
390
|
+
[🖇osc-backers-i]: https://opencollective.com/galtzo-floss/backers/badge.svg?style=flat
|
|
391
|
+
[🖇osc-sponsors]: https://opencollective.com/galtzo-floss#sponsor
|
|
392
|
+
[🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
|
|
393
|
+
[🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/galtzo-floss?style=for-the-badge
|
|
394
|
+
[🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss?style=for-the-badge
|
|
395
|
+
[🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/galtzo-floss?style=for-the-badge
|
|
396
|
+
[🖇osc]: https://opencollective.com/galtzo-floss
|
|
397
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
398
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
399
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
400
|
+
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
401
|
+
[🖇kofi]: https://ko-fi.com/pboling
|
|
402
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
403
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
|
404
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
405
|
+
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
|
406
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
|
407
|
+
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
|
408
|
+
[🖇floss-funding.dev]: https://floss-funding.dev
|
|
409
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
|
410
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
|
411
|
+
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
412
|
+
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
413
|
+
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
414
|
+
[✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
|
|
415
|
+
[✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
|
|
416
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
|
|
417
|
+
|
|
418
|
+
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
419
|
+
[⛳️gem-namespace]: https://github.com/galtzo-floss/require_bench
|
|
420
|
+
[⛳️namespace-img]: https://img.shields.io/badge/namespace-RequireBench-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
421
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/require_bench
|
|
422
|
+
[⛳️name-img]: https://img.shields.io/badge/name-require__bench-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
423
|
+
[⛳️tag-img]: https://img.shields.io/github/tag/galtzo-floss/require_bench.svg
|
|
424
|
+
[⛳️tag]: https://github.com/galtzo-floss/require_bench/releases
|
|
425
|
+
[🚂maint-blog]: http://www.railsbling.com/tags/require_bench
|
|
426
|
+
[🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
|
|
427
|
+
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
428
|
+
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
|
429
|
+
[💖🖇linkedin]: http://www.linkedin.com/in/peterboling
|
|
430
|
+
[💖🖇linkedin-img]: https://img.shields.io/badge/LinkedIn-Profile-0B66C2?style=flat&logo=newjapanprowrestling
|
|
431
|
+
[💖✌️wellfound]: https://wellfound.com/u/peter-boling
|
|
432
|
+
[💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
|
|
433
|
+
[💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
|
434
|
+
[💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
|
|
435
|
+
[💖🐘ruby-mast]: https://ruby.social/@galtzo
|
|
436
|
+
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https://ruby.social&style=flat&logo=mastodon&label=Ruby%20@galtzo
|
|
437
|
+
[💖🦋bluesky]: https://bsky.app/profile/galtzo.com
|
|
438
|
+
[💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
|
|
439
|
+
[💖🌳linktree]: https://linktr.ee/galtzo
|
|
440
|
+
[💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
|
|
441
|
+
[💖💁🏼♂️devto]: https://dev.to/galtzo
|
|
442
|
+
[💖💁🏼♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
|
|
443
|
+
[💖💁🏼♂️aboutme]: https://about.me/peter.boling
|
|
444
|
+
[💖💁🏼♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
|
|
445
|
+
[💖🧊berg]: https://codeberg.org/pboling
|
|
446
|
+
[💖🐙hub]: https://github.org/pboling
|
|
447
|
+
[💖🛖hut]: https://sr.ht/~galtzo/
|
|
448
|
+
[💖🧪lab]: https://gitlab.com/pboling
|
|
449
|
+
[👨🏼🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
|
|
450
|
+
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
451
|
+
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
452
|
+
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
453
|
+
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
454
|
+
[🚂railsbling]: http://www.railsbling.com
|
|
455
|
+
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
456
|
+
[📜src-gl]: https://gitlab.com/galtzo-floss/require_bench
|
|
457
|
+
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
458
|
+
[📜src-cb]: https://codeberg.org/galtzo-floss/require_bench
|
|
459
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
460
|
+
[📜src-gh]: https://github.com/galtzo-floss/require_bench
|
|
461
|
+
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
462
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
463
|
+
[📜gl-wiki]: https://gitlab.com/galtzo-floss/require_bench/-/wikis/home
|
|
464
|
+
[📜gh-wiki]: https://github.com/galtzo-floss/require_bench/wiki
|
|
465
|
+
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
466
|
+
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
467
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/require_bench
|
|
468
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/require_bench.svg
|
|
469
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/require_bench
|
|
470
|
+
[👽versioni]: https://img.shields.io/gem/v/require_bench.svg
|
|
471
|
+
[🏀qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/require_bench
|
|
472
|
+
[🏀qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/require_bench/maintainability.svg
|
|
473
|
+
[🏀qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/require_bench/metrics/code?sort=coverageRating
|
|
474
|
+
[🏀qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/require_bench/coverage.svg
|
|
475
|
+
[🏀codecov]: https://codecov.io/gh/galtzo-floss/require_bench
|
|
476
|
+
[🏀codecovi]: https://codecov.io/gh/galtzo-floss/require_bench/graph/badge.svg
|
|
477
|
+
[🏀coveralls]: https://coveralls.io/github/galtzo-floss/require_bench?branch=main
|
|
478
|
+
[🏀coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/require_bench/badge.svg?branch=main
|
|
479
|
+
[🚎ruby-2.4-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-2.4.yml
|
|
480
|
+
[🚎ruby-2.5-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-2.5.yml
|
|
481
|
+
[🚎ruby-2.6-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-2.6.yml
|
|
482
|
+
[🚎ruby-2.7-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-2.7.yml
|
|
483
|
+
[🚎ruby-3.0-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-3.0.yml
|
|
484
|
+
[🚎ruby-3.1-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-3.1.yml
|
|
485
|
+
[🚎ruby-3.2-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-3.2.yml
|
|
486
|
+
[🚎ruby-3.3-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-3.3.yml
|
|
487
|
+
[🚎ruby-3.4-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/ruby-3.4.yml
|
|
488
|
+
[🚎jruby-10.0-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/jruby-10.0.yml
|
|
489
|
+
[🚎truby-33.0-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/truffleruby-33.0.yml
|
|
490
|
+
[🚎2-cov-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/coverage.yml
|
|
491
|
+
[🚎2-cov-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/coverage.yml/badge.svg
|
|
492
|
+
[🚎3-hd-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/heads.yml
|
|
493
|
+
[🚎3-hd-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/heads.yml/badge.svg
|
|
494
|
+
[🚎5-st-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/style.yml
|
|
495
|
+
[🚎5-st-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/style.yml/badge.svg
|
|
496
|
+
[🚎9-t-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/truffle.yml
|
|
497
|
+
[🚎9-t-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/truffle.yml/badge.svg
|
|
498
|
+
[🚎10-j-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/jruby.yml
|
|
499
|
+
[🚎10-j-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/jruby.yml/badge.svg
|
|
500
|
+
[🚎11-c-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/current.yml
|
|
501
|
+
[🚎11-c-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/current.yml/badge.svg
|
|
502
|
+
[🚎12-crh-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/dep-heads.yml
|
|
503
|
+
[🚎12-crh-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/dep-heads.yml/badge.svg
|
|
504
|
+
[🚎13-🔒️-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/locked_deps.yml
|
|
505
|
+
[🚎13-🔒️-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/locked_deps.yml/badge.svg
|
|
506
|
+
[🚎14-🔓️-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/unlocked_deps.yml
|
|
507
|
+
[🚎14-🔓️-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/unlocked_deps.yml/badge.svg
|
|
508
|
+
[🚎15-🪪-wf]: https://github.com/galtzo-floss/require_bench/actions/workflows/license-eye.yml
|
|
509
|
+
[🚎15-🪪-wfi]: https://github.com/galtzo-floss/require_bench/actions/workflows/license-eye.yml/badge.svg
|
|
510
|
+
[💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
511
|
+
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
512
|
+
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
513
|
+
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
514
|
+
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
515
|
+
[💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
516
|
+
[💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
517
|
+
[💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
518
|
+
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
519
|
+
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
520
|
+
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
521
|
+
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
522
|
+
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
523
|
+
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
524
|
+
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
525
|
+
[💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
526
|
+
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
527
|
+
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
528
|
+
[🤝gh-issues]: https://github.com/galtzo-floss/require_bench/issues
|
|
529
|
+
[🤝gh-pulls]: https://github.com/galtzo-floss/require_bench/pulls
|
|
530
|
+
[🤝gl-issues]: https://gitlab.com/galtzo-floss/require_bench/-/issues
|
|
531
|
+
[🤝gl-pulls]: https://gitlab.com/galtzo-floss/require_bench/-/merge_requests
|
|
532
|
+
[🤝cb-issues]: https://codeberg.org/galtzo-floss/require_bench/issues
|
|
533
|
+
[🤝cb-pulls]: https://codeberg.org/galtzo-floss/require_bench/pulls
|
|
534
|
+
[🤝cb-donate]: https://donate.codeberg.org/
|
|
535
|
+
[🤝contributing]: https://github.com/galtzo-floss/require_bench/blob/main/CONTRIBUTING.md
|
|
536
|
+
[🏀codecov-g]: https://codecov.io/gh/galtzo-floss/require_bench/graph/badge.svg
|
|
537
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
|
538
|
+
[🖐contributors]: https://github.com/galtzo-floss/require_bench/graphs/contributors
|
|
539
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/require_bench
|
|
540
|
+
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/require_bench/-/graphs/main
|
|
541
|
+
[🪇conduct]: https://github.com/galtzo-floss/require_bench/blob/main/CODE_OF_CONDUCT.md
|
|
542
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
|
|
543
|
+
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
|
544
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
545
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
|
546
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
547
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
548
|
+
[📌changelog]: https://github.com/galtzo-floss/require_bench/blob/main/CHANGELOG.md
|
|
549
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
550
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
|
|
551
|
+
[📌gitmoji]: https://gitmoji.dev
|
|
552
|
+
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
553
|
+
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
554
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.165-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
555
|
+
[🔐security]: https://github.com/galtzo-floss/require_bench/blob/main/SECURITY.md
|
|
556
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
557
|
+
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
558
|
+
[📄license]: LICENSE.md
|
|
559
|
+
[📄license-ref]: https://github.com/galtzo-floss/require_bench/blob/main/MIT.md
|
|
560
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
561
|
+
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
562
|
+
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
563
|
+
|
|
564
|
+
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
|
565
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
|
566
|
+
[🚎yard-current]: http://rubydoc.info/gems/require_bench
|
|
567
|
+
[🚎yard-head]: https://require-bench.galtzo.com
|
|
568
|
+
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
|
569
|
+
[💎SHA_checksums]: https://gitlab.com/galtzo-floss/require_bench/-/tree/main/checksums
|
|
570
|
+
[💎rlts]: https://github.com/rubocop-lts/rubocop-lts
|
|
571
|
+
[💎rlts-img]: https://img.shields.io/badge/code_style_&_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
572
|
+
[💎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
|
573
|
+
[💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
574
|
+
[💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
|
|
575
|
+
|
|
576
|
+
<!-- kettle-jem:metadata:start -->
|
|
577
|
+
| Field | Value |
|
|
578
|
+
|---|---|
|
|
579
|
+
| Package | require_bench |
|
|
580
|
+
| Description | ⏱️ Ruby app loading slowly, or never? Discover bootstrapping issues in Ruby by logging/benchmarking/timing-out/rescuing 'Kernel.require' & 'load' |
|
|
581
|
+
| Homepage | https://github.com/galtzo-floss/require_bench |
|
|
582
|
+
| Source | https://github.com/galtzo-floss/require_bench |
|
|
583
|
+
| License | `MIT` |
|
|
584
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/u/gh/pboling, https://www.buymeacoffee.com/pboling |
|
|
585
|
+
<!-- kettle-jem:metadata:end -->
|