
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Adds benchmarking methods to Sidekiq workers, keeps metrics and adds tab to Web UI to let you browse them.
Add this line to your application's Gemfile:
gem 'sidekiq-benchmark'
And then execute:
bundle
class SampleWorker
include Sidekiq::Worker
include Sidekiq::Benchmark::Worker
def perform(id)
benchmark.first_metric do
100500.times do something end
end
benchmark.second_metric do
42.times do anything end
end
benchmark.finish
end
end
class OtherSampleWorker
include Sidekiq::Worker
include Sidekiq::Benchmark::Worker
def perform(id)
benchmark do |bm|
bm.some_metric do
100500.times do
end
end
bm.other_metric do
something_code
end
bm.some_metric do
# some_metric measure continues
end
end
# if block given, yield and finish
end
end
When you use Sidekiq::Testing you
must load sidekiq-benchmark/testing
to stop saving benchmark data to redis.
Just add next code to your test or spec helper:
require 'sidekiq-benchmark/testing'
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that sidekiq-benchmark demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.