
Modx3ProfilerToolbar
Performance toolbar for MODX 3 — request metrics, slow components, timeline and SQL without admin


| Type | Status | Note |
|---|---|---|
| Standard MODX snippets | ✅ Works | [[!mySnippet]] — fully profiled |
| Chunks via MODX tag | ✅ Works | [[$chunkName]] — via MODX parser |
| SQL queries | ✅ Works | All queries |
| MODX events | ✅ Works | OnDocFormSave, OnResourceDelete, etc. |
| Memory and time | ✅ Works | Overall stats |
| pdoTools snippets | ⚠️ Limited | Only as top-level tags — no inner breakdown |
pdoTools snippets (msProducts, pdoResources, pdoPage) are profiled, but:
tpl/tplWrapper — snippet appears with total time, SQL is visible, but chunks in tpl= are not split.{$var|date_format} is not profiled separately.{$_modx->runSnippet('pdoMenu', [...])} in a chunk is not detailed.The toolbar shows only the top-level call (e.g. [[!msProducts]]) with total time and SQL; no breakdown by modifiers or runSnippet inside Fenom.
[[!msProducts]] takes 500 ms, check SQL, indexes and tpl complexity.&cache=1 and `&cacheTime=`3600. See pdoTools — general properties and pdoPage.&includeContent=0`` if content is not needed.&where with JSON string.