Not a developer? Go to MovableType.com

Plugin and Theme Directory

Template Profiler v1.0.0

By Byrne Reese
Posted August 25, 2009, in Utilities.

Details

This plugin provides a simple way for anyone to audit a Movable Type template to see why it might be slower than it needs to be.

It does so by profiling the evaluation of individual template tags encountered during the course of a single-template build (i.e. either an index template or a single archive file). That makes it easy to narrow down exactly where the culprit is.

Profile Report

The performance statistics compiled for the final report include both aggregate totals and single-instance averages. This enables you to identify both horribly inefficient tags as well as those which are evaluated far too frequently (indicating that caching might be helpful).

Profiler plugin - Tag performance

The data contained in the report includes:

  • Name of the template tag
  • Number of times the tag was encountered
  • Aggregate processing time for the tag
  • Average processing time for a single evaluation of the tag
  • Number of database queries generated for the tag
  • Number of cache hits and misses for those queries

The report also provides nice javascript-based sorting capabilities to make it easier to determine the outliers within given template.

Known Issues

  • Works only with Index Templates right now.

Bugs, Feature requests and support

If you are having problems installing or using the plugin, please check out our general knowledge base and help ticket system at help.endevver.com.

If you know that you've encountered a bug in the plugin or you have a request for a feature you'd like to see, you can file a ticket in Github Issues.

Requirements

Compatibility

Movable Type versions: 5.05.15.2

License

GPL


Back

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese