ContextIO::API: Log performance info if Rails is defined.