Skip to content

Ruby tests profiling and optimization toolbox

Identify bottlenecks. Write faster tests. Ship with confidence.

Ruby Profilers

Plug'n'Play integration with ruby-prof, Stackprof and Vernier. Profile your test suite with a single environment variable.

Factory Profiling

Analyze factory usage and identify factory cascades.

Event Profiler

Profile built-in ActiveSupport notifications and custom events to identify slow operations across your test suite.

before_all & let_it_be

Run expensive setup once and share across examples. Dramatically reduce test suite time with minimal changes.

AnyFixture

Create persistent fixtures from factory-generated data. Combine the flexibility of factories with fixture performance.

FactoryDefault

Eliminate factory cascades by reusing associated records.

...and more! Explore the full TestProf toolkit:

TestProf map