Skip to content

Move benchmark from development to runtime dependency#185

Merged
trusche merged 1 commit into
trusche:masterfrom
calebhearth:add-benchmark-runtime-dependency
Jan 13, 2026
Merged

Move benchmark from development to runtime dependency#185
trusche merged 1 commit into
trusche:masterfrom
calebhearth:add-benchmark-runtime-dependency

Conversation

@calebhearth

Copy link
Copy Markdown
Contributor

Starting with Ruby 3.5.0, benchmark will no longer be included in Ruby's
default gems. Applications using httplog would encounter a LoadError unless
they explicitly add benchmark to their own Gemfile, and there's a deprecation
warning under 3.4.4.

While benchmark is marked as a development dependency now, we're actually using
it in several places to provide benchmark results when
config.log_benchmark = true so it should be a runtime dependency.

Starting with Ruby 3.5.0, benchmark will no longer be included in Ruby's default
gems. Applications using httplog would encounter a LoadError unless they
explicitly add benchmark to their own Gemfile, and there's a deprecation warning
under 3.4.4.

While benchmark is marked as a development dependency now, we're actually using
it in several places to provide benchmark results when
`config.log_benchmark = true` so it should be a runtime dependency.
@trusche

trusche commented Jan 13, 2026

Copy link
Copy Markdown
Owner

Thanks @calebhearth 💯

@trusche
trusche merged commit 8d5996f into trusche:master Jan 13, 2026
1 check failed
@calebhearth

Copy link
Copy Markdown
Contributor Author

Thank you!

@trusche

trusche commented Jan 13, 2026

Copy link
Copy Markdown
Owner

Released as 1.8.0 https://rubygems.org/gems/httplog/versions/1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants