mysociety/alaveteli — pull request #663 by mlandauer (2012-10-17 23:00:10+00:00)
Title: Optional new relic support

Adds optional support for profiling using newrelic. See http://newrelic.com

It's a proprietary service but the gem that's being added is open source https://github.com/newrelic/rpm.

if the `config/newrelic.yml` file is missing (which it is by default) it doesn't do anything.

You can do some local profiling which is helpful but this really comes into its own when used on your production server with the paid service.

We've found newrelic super-super useful in speeding up http://planningalerts.org.au and so we have forked out for a paid pro account (at a substantial discount).

This is one of the instances where there isn't an open-source solution that comes close. However, everything that's learned from profiling gets fed back into better open source code so it doesn't quite feel so dirty to me. ;-)