Plugins You can find out about all the publicly available Grails plugins.

Mini Profiler plugin

  • Tags: /
  • Latest: 0.4.1
  • Last Updated: 16 July 2014
  • Grails version: 1.3 > *
1 vote
compile "org.grails.plugins:miniprofiler:0.4.1"
Custom repositories:
mavenRepo ""

 Documentation  Source  Issues


Shows timing and sql query information in a head-up display in a web page, useful for debugging database and other performance problems.


This plugin also requires the Profiler Plugin to be installed:

plugins {
    // etc
    runtime ':profiler:0.5'
    runtime ':miniprofiler:0.4.1'

You should then add the following to the bottom of any layouts that you would like to see the profiling information on, just inside the bottom of the html body:

<!-- rest of layout above -->


This plugin adds a clickable overlay onto your website as per the Stack Exchange MiniProfiler. Your controller methods, views and service methods are all visible, and any SQL queries executed during each of those calls can be seen.

See the talk from the Groovy & Grails Exchange 2012 which introduced the plugin here.

Known Issues

  • At time of writing, the profiler plugin does not correctly wrap controller methods in Grails 2.x, so controller methods may or may not appear correctly in the output.
  • People using this plugin with the MogoDB plugin, and who are using transactional service with static transactional = 'mongo' should use the latest snapshot version of the profiler plugin, 0.6-SNAPSHOT rather than the 0.5 version.
  • Sitemesh layout timing is not available in Grails 2.4 in this version
This is very early code, all bug reports and suggestions very welcome!




  • Split core functionality into miniprofiler-jvm project
  • Fix several bugs, including layout timing on Grails 2.2.x


  • Profile AJAX requests
  • Use log4jdbc from Maven Central, now that it's published there


  • Initial release