PigCI helps track key Ruby on Rails application metrics such as Memory Usage, Database Requests & request time during your test suite. If your test suite shows a dramatic increase in a metric, it'll fail that PR. This will help stop memory leak or performance issues before you deploy them to production.
PigCI uses the
pig-ci-rails gem to track metrics while your test suite runs in CI, once your tests complete it'll compare the metrics from your current branch to your primary branch.
- Setup your project on PigCI, you'll be given a code sample to add to your
- When you next run your test suite, your overall metrics will be compared to your primary branch & the relevant PR will pass/fail.