Skip to content
Ruby Tests Profiling Toolbox
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs docs: add note about fatory_default vs before_all Mar 20, 2019
spec feat: make factory_prof compatible with factory_bot 5 Feb 23, 2019
.gitattributes [ci skip] Add test-prof mindmap Sep 21, 2017
.gitignore Add older RSpec to Travis Oct 17, 2017
.rubocop.yml travis: ignored vendor in gemfiles Feb 23, 2019
.travis.yml travis: remove arel from rails master gemfile Feb 23, 2019
Gemfile feat: make factory_prof compatible with factory_bot 5 Feb 23, 2019
LICENSE.txt Add RubyProf integration May 18, 2017 [ci skip] add BalkanRuby links Jan 12, 2019
circle.yml Update circle test command; ignore vendors in rubocop Jul 24, 2017

Cult Of Martians Gem Version Build Status Code Triagers Badge Documentation

Ruby Tests Profiling Toolbox

TestProf is a collection of different tools to analyze your test suite performance.

Why does test suite performance matter? First of all, testing is a part of a developer's feedback loop (see @searls talk) and, secondly, it is a part of a deployment cycle.

Simply speaking, slow tests waste your time making you less productive.

TestProf toolbox aims to help you identify bottlenecks in your test suite. It contains:

  • Plug'n'Play integrations for general Ruby profilers (ruby-prof, stackprof)

  • Factories usage analyzers and profilers

  • ActiveSupport-backed profilers

  • RuboCop cops

  • etc.

Of course, we have some solutions for common performance issues too, bundled into the gem.

📑 Documentation

Supported Ruby versions:

  • Ruby (MRI) >= 2.3.0 (NOTE: for Ruby 2.2 use TestProf < 0.7.0)

  • JRuby >=

Sponsored by Evil Martians



Add test-prof gem to your application:

group :test do
  gem 'test-prof'

And that's it)


Check out our docs.

What's next?

Have an idea? Propose a feature request!

Already using TestProf? Share your story!


The gem is available as open source under the terms of the MIT License.

You can’t perform that action at this time.