Description
Your site got slow. Something is running too many database queries, and you would like to know what.
Tools exist that answer this. The trouble is that reading them turns out to be its own skill, and plenty of people open one, meet a wall of tabs and numbers, and quietly close it again assuming they are the problem. They are not. The information was there. It was not readable.
Dobsie shows you less, and shows it where you already are.
A small panel sits in the corner of the page you were already looking at. How long the page took, how many queries it ran and how long those took, peak memory, and a bar chart of which plugin is responsible for what. Queries slower than 20ms are called out on their own. When the answer is one badly behaved plugin, you can see it without going anywhere or learning anything first.
When you want the detail, Tools > Dobsie has it, including several things that are genuinely hard to find out on your own. Whether OPcache is switched on and actually working. How much autoloaded data every single page request is dragging along, and which options are the worst of it. Which plugin owns which rewrite rules. Whether your cron is healthy.
Only administrators see any of it, on the front end and in the admin alike.
The panel on the page
What it shows:
- Total page load time
- Database query count and total query time
- Peak memory usage
- Top sources by query time (visual bar chart)
- Slow queries (>20ms)
Only administrators ever see it. You can minimise it, close it, or switch it off for good at Tools > Dobsie, where the setting is called Enable performance toast overlay. Add ?perf=0 to any URL to hide it for a single page load.
Admin Profiler Page (Tools > Dobsie)
Four tabs provide deep diagnostics:
Overview
- Memory usage, active plugin count, total queries, autoloaded data size
- Database cleanup stats (revisions, transients, expired transients)
- Quick page test (client-side timing for any URL)
- Autoloaded options table (top 15 by size)
- Rewrite rules analysis grouped by source plugin
- Actionable recommendations
Deep Scan
- Query breakdown by plugin/source with visual bar chart
- Slow queries (>10ms) with SQL preview and source identification
- Worst offenders analysis with optimization suggestions
- Slow query pattern detection (which tables are hit most)
- Requires SAVEQUERIES (enabled automatically for this tab)
Server Health
- Filesystem health (cache directories, uploads, log files)
- PHP configuration (memory, execution time, OPcache status)
- Object cache detection (Redis, Memcached, or none)
- Cron health (scheduled event count, overdue jobs, and which hooks schedule the most)
- Active hooks analysis (callback counts on eight common hooks, so you can see what is crowded)
- Execution time breakdown
- Problem file detection (oversized logs, error files in web root)
Debug
- Full per-source query list with live filtering
- Requires SAVEQUERIES (enabled automatically for this tab)
Key Features
- Nothing to configure. Activate it and the panel is there.
- Administrators only, on the front end and in the admin alike. Visitors are unaffected.
- Query tracing switches on where it is needed and off again where it is not.
- No external dependencies, and no database tables of its own.
- Query sources are named by plugin, theme or mu-plugin, so the answer points at something.
- Suggestions for what it finds, rather than numbers and good luck.
Dobsie is a Tracksies plugin made by A Lined Design, a WordPress studio in Hobart, Tasmania. Every one of them started as something a client site needed, and they all still run on the sites we build. The full range lives at tracksies.com. For more about the studio, or custom site work, see alineddesign.com.
Screenshots




Installation
- Upload the
dobsiefolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu.
- Visit Tools > Dobsie for the full profiler.
- The toast overlay appears automatically on all pages (admin-only).
FAQ
-
Does this affect site performance for visitors?
-
No. The toast overlay and SAVEQUERIES are only enabled for administrators. Regular visitors see no impact.
-
How do I hide the toast overlay?
-
Click the X button to hide it (sets a cookie). Or go to Tools > Dobsie and uncheck “Enable performance toast overlay”. That stops the toast and stops query logging on ordinary page loads. Opening the profiler’s Deep Scan or Debug tab still traces queries, because that is what you went there to do.
-
What does Deep Scan do differently?
-
Deep Scan enables the SAVEQUERIES constant, which records every database query with its execution time and stack trace. This lets Dobsie identify exactly which plugin generated each query. That recording is the overhead, and it lasts as long as you are on the tab.
-
Can I use this on a production site?
-
Yes, and your visitors are never affected on any tab, because none of it runs for them.
Two things cost you something, and they are different in kind. Query tracing is the ongoing one: while the panel is switched on, every page you load as an administrator records its queries, which is what lets the panel tell you anything at all. Deep Scan and Debug trace as well, because that is what you opened them for. Switch the panel off at Tools > Dobsie when you are not chasing something and the tracing stops with it.
Opening Server Health is the other kind. It counts and measures the files in your uploads folder, so on a media-heavy site it takes a moment, and on a very large one it is the slowest page here. That cost lands when you open the tab and not again afterwards.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Dobsie” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Dobsie” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Real-time toast overlay with page load time, query count, DB time, peak memory, top sources by query time, and slow queries.
- Admin profiler page under Tools with Overview, Deep Scan, Server Health, and Debug tabs.
- Query attribution by plugin, theme, or mu-plugin source.
- Slow query detection with SQL preview and worst-offender analysis.
- Autoloaded options analysis and database cleanup stats.
- Rewrite rules analysis grouped by source plugin.
- Filesystem health, PHP configuration, OPcache diagnostics, and object cache detection.
- Cron health and active hooks analysis.
- SAVEQUERIES enabled for logged-in administrators only: on the Deep Scan and Debug tabs, and on every page an administrator loads while the panel is switched on.
