
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
capistrano-benchmark
Advanced tools
= capistrano-benchmark
Getting more timing data about your capistrano-tasks. Out of the box, capistrano does include some timing data, particularly for local and remote commands, but not for tasks as a whole.
capistrano-benchmark aims to provide a quick and dirty way to do this.
== Installation
You know the drill:
gem install capistrano-benchmark
== Setup
You can either set this up on a per project basis, or globally on a system.
require 'capistrano-benchmark'
require 'capistrano-benchmark'
Timing data isn't showed by default, and respects the ':benchmark' variable. There's a convience task for toggling this:
cap production benchmark deploy
If you want this to happen always, you can set this variable yourself:
set :benchmark, true
If you want to see a summarized benchmark report printed at the end:
after "deploy", "benchmark:report"
== Implementation notes
apistrano-benchmark works by alias chaining Capistrano::Configuration's execute_task to use ruby's built in
Benchmark` to time how long a real task works. Quick and dirty, but it gets the job done.
This is the same pattern as rails's alias_method_chain, so ideally this wouldn't really interfer with anything.
== Contributing to capistrano-benchmark
== Copyright
Copyright (c) 2011 Josh Nichols. See LICENSE.txt for further details.
FAQs
Unknown package
We found that capistrano-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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.