
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.