Skip to content

quake/db_profiling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

= DB Profiling

A simple database query profiling tool, basis of Aaron Patterson's blog:
http://tenderlovemaking.com/2008/03/13/profiling-database-queries-in-rails/
Honor to him, bug to me
 
== Installation

The recommended way is that you get the gem:

gem install quake-db_profiling --source http://gems.github.com/
 
== Example usage

add one line to environment.rb:

require 'db_profiling' if RAILS_ENV == "development"

add helper output to the view which you want to profiling, for example, layouts/application.rhtml:

<%= db_profiling_view if RAILS_ENV == "development" %>

About

simple database query profiling tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages