Collects and displays debug information in a handy toolbar.

Perfmon Debug Toolbar

Processwire module used in performance monitoring and optimization.

This module is intended to be run on a development machine. To prevent the module from from mistakenly running in production, the module looks to Processwire's configuration and will only execute when debug is set to true.

The toolbar interface was inspired by the great django-debug-toolbar.

Overview


Requirements

  • PHP >=5.6 (uses REQUEST_TIME_FLOAT)
  • Processwire >=3.0

Installation

  1. drop the unzipped DebugPerfmon directory into site modules
  2. set debug to true in your development site's configuration — $config->debug = true;. Use care not to leak this value into production (a local configuration override is a good idea).
  3. login to the admin, go to modules, refresh and click install

You should immediately see the collapsed toolbar in the upper right of the screen.

Limitations

MySQL timings start being captured with the module's initialization. This means MySQL activity occurring during bootstrap is not reported. If you have any ideas how to workaround the issue without modifying core, be sure to send an email.

Page historical data is stored in the browser's localStorage. Clearing the browser history will clear the DebugPerfmon history.

Screencaps


A collapsed toolbar in the upper right hand corner of the screen.

screencap

The expanded toolbar, viewing the timings panel.

screencap

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“We were really happy to build our new portfolio website on ProcessWire! We wanted something that gave us plenty of control on the back-end, without any bloat on the front end - just a nice, easy to access API for all our content that left us free to design and build however we liked.” —Castus, web design agency in Sheffield, UK