Socket
Book a DemoInstallSign in
Socket

minitest-perf_regression

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitest-perf_regression

0.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

Minitest::PerformanceRegression

By annotating your test, profile their performance and check performance regression since last run.

Requirements

As it depends on the gem benchmark-lab , the ruby version required is at least 2.1.

Installation

Add this line to your application's Gemfile:

gem 'minitest-perf_regression'

And then execute:

$ bundle

Or install it yourself as:

$ gem install minitest-perf_regression

Usage

require 'minitest/autorun'
require 'minitest/perf_regression'

class FooTest < Minitest::Test

  extend Minitest::PerformanceRegression

  def test_thing
    assert true
  end

  check_profile_regression_on :test_thing
end

Credits

  • @tenderlove for initial discussion and minitest explanation
  • @toch for the code and the gem benchmark-lab

Contributing

FAQs

Package last updated on 30 Sep 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.