Skip to content

Instantly share code, notes, and snippets.

View jerrod's full-sized avatar

Jerrod Blavos jerrod

  • Raleigh, NC
  • 08:26 (UTC -04:00)
View GitHub Profile
@jerrod
jerrod / rails-test-suite-speedup.md
Created May 9, 2026 14:51
Rails Test Suite Speedup — investigation playbook

Rails Test Suite Speedup — Methodology

A skill / prompt for any Rails app where the test suite is too slow. Took one app from 120s → 36s wall-clock by walking this list. Use it as an investigation playbook, not a checklist — every project has a different worst offender, but the same handful of patterns produce most of the slowness.

The order matters: profile first, fix code-side, then attack infra. Throwing CPU at a slow suite buys you a 30 % discount on something you should have crushed at the source.


Step 1 — Profile, don't guess

@jerrod
jerrod / Procfile
Created July 18, 2020 15:21 — forked from 0xjmp/Procfile
How to set up a Rails and Webpack app for fun and profit
api: sh -c "cd api && bundle exec rails s -p5000"
nginx: /usr/bin/nginx -c nginx.conf
client: sh -c "cd client && npm start"